public final class ProjectPermissionSchemeResource extends Object
Constructor and Description |
---|
ProjectPermissionSchemeResource(PermissionSchemeService permissionSchemeService,
ProjectFinder projectFinder,
ResponseFactory responseFactory,
JiraAuthenticationContext jiraAuthenticationContext,
PermissionSchemeBeansFactory beansFactory,
PermissionGrantBeanExpander expander) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
assignPermissionScheme(String projectKeyOrId,
IdBean permissionSchemeId,
String expand)
Assigns a permission scheme with a project.
|
javax.ws.rs.core.Response |
getAssignedPermissionScheme(String projectKeyOrId,
String expand)
Gets a permission scheme assigned with a project.
|
public ProjectPermissionSchemeResource(PermissionSchemeService permissionSchemeService, ProjectFinder projectFinder, ResponseFactory responseFactory, JiraAuthenticationContext jiraAuthenticationContext, PermissionSchemeBeansFactory beansFactory, PermissionGrantBeanExpander expander)
public javax.ws.rs.core.Response assignPermissionScheme(String projectKeyOrId, IdBean permissionSchemeId, String expand)
projectKeyOrId
- key or id of the projectpermissionSchemeId
- object that contains an id of the schemepublic javax.ws.rs.core.Response getAssignedPermissionScheme(String projectKeyOrId, String expand)
projectKeyOrId
- key or id of the projectCopyright © 2002-2019 Atlassian. All Rights Reserved.