Class InheritedPermissionCheckResource

java.lang.Object
com.atlassian.confluence.functest.rest.InheritedPermissionCheckResource

@Path("/restrictions") public class InheritedPermissionCheckResource extends Object
Resource used by the test com.atlassian.confluence.InheritedPagePermissionsAcceptanceTest#testInheritedPermissionRemoval()
  • Constructor Details

    • InheritedPermissionCheckResource

      @Inject public InheritedPermissionCheckResource(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, PageManager pageManager, ContentPermissionManager contentPermissionManager, UserAccessor userAccessor)
  • Method Details

    • setContentPermissions

      @GET @Path("/set/{confluencePageId}") @Produces("application/json") public javax.ws.rs.core.Response setContentPermissions(@PathParam("confluencePageId") Long confluencePageId, @QueryParam("username") String username, @QueryParam("group") String group)
    • removeContentPermissions

      @GET @Path("/remove/{confluencePageId}") @Produces("application/json") public javax.ws.rs.core.Response removeContentPermissions(@PathParam("confluencePageId") Long confluencePageId)