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 TypeMethodDescriptionbooleanhasExtPermission(Project project) Checks if scheme for project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTEenabled.booleanhasExtPermission(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_ATTRIBUTEenabled.
-
Constructor Details
-
ProjectPermissionHelperImpl
-
-
Method Details
-
hasExtPermission
Description copied from interface:ProjectPermissionHelperChecks if there is only one project in the list and scheme for that project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTEenabled.- Specified by:
hasExtPermissionin 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_ATTRIBUTEenabled, false otherwise.
-
hasExtPermission
Description copied from interface:ProjectPermissionHelperChecks if scheme for project hascom.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTEenabled.- Specified by:
hasExtPermissionin interfaceProjectPermissionHelper- Returns:
- true if scheme for project has
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTEenabled, false otherwise.
-