com.atlassian.jira.permission
Class DefaultProjectPermissionSchemeHelper
java.lang.Object
com.atlassian.jira.permission.DefaultProjectPermissionSchemeHelper
- All Implemented Interfaces:
- ProjectPermissionSchemeHelper
public class DefaultProjectPermissionSchemeHelper
- extends Object
- implements ProjectPermissionSchemeHelper
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProjectPermissionSchemeHelper
public DefaultProjectPermissionSchemeHelper(PermissionSchemeManager permissionSchemeManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager)
getSharedProjects
public List<Project> getSharedProjects(Scheme permissionScheme)
- Description copied from interface:
ProjectPermissionSchemeHelper
- Gets the projects using a given Permission
Scheme
. Similar to
SchemeManager.getProjects(com.atlassian.jira.scheme.Scheme)
, but only projects for which
the requesting user has ProjectAction.EDIT_PROJECT_CONFIG
permissions.
- Specified by:
getSharedProjects
in interface ProjectPermissionSchemeHelper
- Parameters:
permissionScheme
- permissionScheme to find associated projects for.
- Returns:
- list of projects which use the given permissionScheme. Sorted by
ProjectNameComparator.COMPARATOR
.
Copyright © 2002-2012 Atlassian. All Rights Reserved.