Class ProjectPermissions

java.lang.Object
com.atlassian.jira.projects.util.ProjectPermissions

@Component public class ProjectPermissions extends Object
This class is a helper class that at the moment has only one method that is used by Components and Versions project tab panel classes
  • Constructor Details

  • Method Details

    • hasProjectAdminPermission

      public Boolean hasProjectAdminPermission(ApplicationUser user, Project project)
      This is a helper method that returns Boolean.TRUE if the given user is granted global administration rights or administration rights for given project, otherwise returns Boolean.FALSE.
      Parameters:
      user - user
      project - project
      Returns:
      true if user is granted permission, false otherwise