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