Class RepositoryPermissionsResource

java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.repository.RepositoryPermissionsResource

@Path("repository/permissions") @Consumes("application/json") @Produces("application/json") @Singleton public class RepositoryPermissionsResource extends Object
  • Constructor Details

  • Method Details

    • hasRepoPermission

      @GET @Path("{repositoryId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response hasRepoPermission(@PathParam("repositoryId") long repositoryId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName)
    • grantRepoPermission

      @PUT @Path("{repositoryId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response grantRepoPermission(@PathParam("repositoryId") long repositoryId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName)
    • revokeRepoPermission

      @DELETE @Path("{repositoryId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response revokeRepoPermission(@PathParam("repositoryId") long repositoryId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName)