public class DefaultProjectPermissionSchemeHelper extends Object implements ProjectPermissionSchemeHelper
Constructor and Description |
---|
DefaultProjectPermissionSchemeHelper(PermissionSchemeManager permissionSchemeManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
getSharedProjects(Scheme permissionScheme)
Gets the projects using a given Permission
Scheme . |
public DefaultProjectPermissionSchemeHelper(PermissionSchemeManager permissionSchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
public List<Project> getSharedProjects(Scheme permissionScheme)
ProjectPermissionSchemeHelper
Scheme
. Similar to
SchemeManager.getProjects(com.atlassian.jira.scheme.Scheme)
, but only projects for which
the requesting user has ProjectAction.EDIT_PROJECT_CONFIG
permissions.getSharedProjects
in interface ProjectPermissionSchemeHelper
permissionScheme
- permissionScheme to find associated projects for.ProjectNameComparator.COMPARATOR
.Copyright © 2002-2015 Atlassian. All Rights Reserved.