Class ManagedPermissionSchemeResource
java.lang.Object
com.atlassian.jira.rest.internal.v2.permissions.ManagedPermissionSchemeResource
@Path("managedpermissionscheme")
@Produces("application/json")
@Consumes("application/json")
public class ManagedPermissionSchemeResource
extends Object
-
Constructor Summary
ConstructorDescriptionManagedPermissionSchemeResource
(JiraAuthenticationContext jiraAuthenticationContext, ManagedPermissionSchemeHelper managedPermission, ResponseFactory responseFactory) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addManagedPermissionSchemeGrants
(Long permissionSchemeId, PermissionsInputBean addPermissions) javax.ws.rs.core.Response
getManagedPermissionScheme
(Long permissionSchemeId) javax.ws.rs.core.Response
getManagedPermissionSchemeAddView
(Long permissionSchemeId, String permissionKey) javax.ws.rs.core.Response
javax.ws.rs.core.Response
removeManagedPermissionSchemeGrants
(Long permissionSchemeId, ProjectDeleteInstructionsBean deleteInstructionsBean)
-
Constructor Details
-
ManagedPermissionSchemeResource
@Inject public ManagedPermissionSchemeResource(JiraAuthenticationContext jiraAuthenticationContext, ManagedPermissionSchemeHelper managedPermission, ResponseFactory responseFactory)
-
-
Method Details
-
getManagedPermissionScheme
@GET @Path("{permissionSchemeId}") public javax.ws.rs.core.Response getManagedPermissionScheme(@PathParam("permissionSchemeId") Long permissionSchemeId) -
getManagedPermissionSchemeAddViewSecurityTypes
@GET @Path("securitytypes") public javax.ws.rs.core.Response getManagedPermissionSchemeAddViewSecurityTypes() -
getManagedPermissionSchemeAddView
-
addManagedPermissionSchemeGrants
@POST @Path("{permissionSchemeId}") public javax.ws.rs.core.Response addManagedPermissionSchemeGrants(@PathParam("permissionSchemeId") Long permissionSchemeId, PermissionsInputBean addPermissions) -
removeManagedPermissionSchemeGrants
@DELETE @Path("{permissionSchemeId}") public javax.ws.rs.core.Response removeManagedPermissionSchemeGrants(@PathParam("permissionSchemeId") Long permissionSchemeId, ProjectDeleteInstructionsBean deleteInstructionsBean)
-