Interface ProjectPermissionHelper

All Known Implementing Classes:
ProjectPermissionHelperImpl

@Internal public interface ProjectPermissionHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if scheme for project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled.
    boolean
    Checks if there is only one project in the list and scheme for that project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled.
  • Method Details

    • hasExtPermission

      boolean hasExtPermission(List<Project> projects)
      Checks if there is only one project in the list and scheme for that project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled.
      Parameters:
      projects -
      Returns:
      true if there is only one project in the list and scheme for project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled, false otherwise.
    • hasExtPermission

      boolean hasExtPermission(Project project)
      Checks if scheme for project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled.
      Parameters:
      project -
      Returns:
      true if scheme for project has com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled, false otherwise.