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