userSession->isLogged()) { $this->checkProjectPermission($class, $method, $this->taskFinderModel->getProjectId($task_id)); } } }