Class InheritedPermissionCheckResource
java.lang.Object
com.atlassian.confluence.functest.rest.InheritedPermissionCheckResource
Resource used by the test
com.atlassian.confluence.InheritedPagePermissionsAcceptanceTest#testInheritedPermissionRemoval()
-
Constructor Summary
ConstructorDescriptionInheritedPermissionCheckResource
(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PageManager pageManager, ContentPermissionManager contentPermissionManager, UserAccessor userAccessor) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
removeContentPermissions
(Long confluencePageId) javax.ws.rs.core.Response
setContentPermissions
(Long confluencePageId, String username, String group)
-
Constructor Details
-
InheritedPermissionCheckResource
@Inject public InheritedPermissionCheckResource(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PageManager pageManager, ContentPermissionManager contentPermissionManager, UserAccessor userAccessor)
-
-
Method Details
-
setContentPermissions
-
removeContentPermissions
@GET @Path("/remove/{confluencePageId}") @Produces("application/json") public javax.ws.rs.core.Response removeContentPermissions(@PathParam("confluencePageId") Long confluencePageId)
-