Package com.atlassian.jira.permission
Class ProjectPermissionHelperImpl
java.lang.Object
com.atlassian.jira.permission.ProjectPermissionHelperImpl
- All Implemented Interfaces:
ProjectPermissionHelper
-
Constructor Summary
ConstructorsConstructorDescriptionProjectPermissionHelperImpl
(PermissionSchemeManager permissionSchemeManager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasExtPermission
(Project project) Checks if scheme for project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.boolean
hasExtPermission
(List<Project> projects) Checks if there is only one project in the list and scheme for that project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.
-
Constructor Details
-
ProjectPermissionHelperImpl
-
-
Method Details
-
hasExtPermission
Description copied from interface:ProjectPermissionHelper
Checks if there is only one project in the list and scheme for that project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.- Specified by:
hasExtPermission
in interfaceProjectPermissionHelper
- 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
Description copied from interface:ProjectPermissionHelper
Checks if scheme for project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.- Specified by:
hasExtPermission
in interfaceProjectPermissionHelper
- Returns:
- true if scheme for project has
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled, false otherwise.
-