private function checkProjectNotePermissions($projectId)
 {
     if ($this->projectService->checkProjectOwner($projectId) or $this->projectService->checkProjectMember($projectId)) {
         return true;
     }
     return false;
 }