Class DeploymentPermissionsResource

java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.deployment.DeploymentPermissionsResource

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

  • Method Details

    • hasDeploymentProjectPermission

      @GET @Path("project/{deploymentProjectId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response hasDeploymentProjectPermission(@PathParam("deploymentProjectId") long deploymentProjectId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName, @Context javax.ws.rs.core.UriInfo uriInfo)
    • grantDeploymentProjectPermission

      @PUT @Path("project/{deploymentProjectId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response grantDeploymentProjectPermission(@PathParam("deploymentProjectId") long deploymentProjectId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context RestAuthenticationContext restAuthenticationContext)
    • revokeDeploymentProjectPermission

      @DELETE @Path("project/{deploymentProjectId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response revokeDeploymentProjectPermission(@PathParam("deploymentProjectId") long deploymentProjectId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context RestAuthenticationContext restAuthenticationContext)
    • grantEnvironmentPermission

      @PUT @Path("environment/{environmentId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response grantEnvironmentPermission(@PathParam("environmentId") long environmentId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context RestAuthenticationContext restAuthenticationContext)
    • revokeEnvironmentPermission

      @DELETE @Path("environment/{environmentId}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response revokeEnvironmentPermission(@PathParam("environmentId") long environmentId, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context RestAuthenticationContext restAuthenticationContext)