Package com.atlassian.jira.permission
Interface ProjectPermissionHelper
- All Known Implementing Classes:
ProjectPermissionHelperImpl
@Internal
public interface ProjectPermissionHelper
-
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.
-
Method Details
-
hasExtPermission
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.- 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
Checks if scheme for project hascom.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.
-