public class ProjectPermissionHelperImpl extends Object implements ProjectPermissionHelper
Constructor and Description |
---|
ProjectPermissionHelperImpl(PermissionSchemeManager permissionSchemeManager) |
Modifier and Type | Method and Description |
---|---|
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. |
boolean |
hasExtPermission(Project project)
Checks if scheme for project has
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE enabled. |
public ProjectPermissionHelperImpl(PermissionSchemeManager permissionSchemeManager)
public boolean hasExtPermission(List<Project> projects)
ProjectPermissionHelper
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.hasExtPermission
in interface ProjectPermissionHelper
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled, false otherwise.public boolean hasExtPermission(Project project)
ProjectPermissionHelper
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled.hasExtPermission
in interface ProjectPermissionHelper
com.atlassian.jira.permission.PermissionSchemeAttributeManager.AttributeKeys#EXTENDED_ADMINISTER_PROJECTS_ENABLED_ATTRIBUTE
enabled, false otherwise.Copyright © 2002-2018 Atlassian. All Rights Reserved.