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 Summary
ConstructorDescriptionPlanPermissionsResource
(CachedPlanManager cachedPlanManager, PermissionsTestService permissionsTestService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
grantPlanPermission
(String planKey, String permissionName, String sidType, String sidName) javax.ws.rs.core.Response
hasPlanPermission
(String planKey, String permissionName, String sidType, String sidName) javax.ws.rs.core.Response
revokePlanPermission
(String planKey, String permissionName, String sidType, String sidName)
-
Constructor Details
-
PlanPermissionsResource
@Inject public PlanPermissionsResource(CachedPlanManager cachedPlanManager, PermissionsTestService permissionsTestService)
-
-
Method Details
-
hasPlanPermission
-
grantPlanPermission
-
revokePlanPermission
-