com.atlassian.jira.permission
Interface ProjectPermissionSchemeHelper

All Known Implementing Classes:
DefaultProjectPermissionSchemeHelper

public interface ProjectPermissionSchemeHelper

An internal helper class for Project Configuration.

Since:
v4.4

Method Summary
 List<Project> getSharedProjects(Scheme permissionScheme)
          Gets the projects using a given Permission Scheme.
 

Method Detail

getSharedProjects

List<Project> getSharedProjects(Scheme permissionScheme)
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.

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.