/**
  * @throws 403
  * @throws 404
  *
  * @return boolean
  */
 private function userCanSeeUserGroups($project_id)
 {
     $project = $this->project_manager->getProject($project_id);
     $user = $this->user_manager->getCurrentUser();
     ProjectAuthorization::canUserAccessUserGroupInfo($user, $project, new URLVerification());
     return true;
 }
 /**
  * @throws 403
  * @throws 404
  *
  * @return boolean
  */
 private function userCanSeeUserGroups($project_id)
 {
     $user_manager = UserManager::instance();
     $project = ProjectManager::instance()->getProject($project_id);
     $user = $user_manager->getCurrentUser();
     ProjectAuthorization::canUserAccessUserGroupInfo($user, $project, new URLVerification());
     return true;
 }