public class DefaultProjectIssueSecuritySchemeHelper extends Object implements ProjectIssueSecuritySchemeHelper
Constructor and Description |
---|
DefaultProjectIssueSecuritySchemeHelper(IssueSecuritySchemeManager issueSecuritySchemeManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
getSharedProjects(Scheme issueSecurityScheme)
Gets the projects using a given IssueSecurity
Scheme . |
public DefaultProjectIssueSecuritySchemeHelper(IssueSecuritySchemeManager issueSecuritySchemeManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
public List<Project> getSharedProjects(Scheme issueSecurityScheme)
ProjectIssueSecuritySchemeHelper
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 ProjectIssueSecuritySchemeHelper
issueSecurityScheme
- issueSecurityScheme to find associated projects for.ProjectNameComparator.COMPARATOR
Copyright © 2002-2019 Atlassian. All Rights Reserved.