Class PlanPermissionsResource

java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.plan.PlanPermissionsResource

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

  • Method Details

    • hasPlanPermission

      @GET @Path("{planKey}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response hasPlanPermission(@PathParam("planKey") String planKey, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName)
    • grantPlanPermission

      @PUT @Path("{planKey}/{permissionName}/{sidType}/{sidName}") public javax.ws.rs.core.Response grantPlanPermission(@PathParam("planKey") String planKey, @PathParam("permissionName") String permissionName, @PathParam("sidType") String sidType, @PathParam("sidName") String sidName)
    • revokePlanPermission

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