Class ProjectPermissionsResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.project.ProjectPermissionsResource
@Path("project/permissions")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class ProjectPermissionsResource
extends Object
-
Constructor Summary
ConstructorDescriptionProjectPermissionsResource
(PermissionsTestService permissionsTestService, ProjectManager projectManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
grantProjectPermission
(String projectKey, String permissionName, String sidType, String sidName) javax.ws.rs.core.Response
revokeProjectPermission
(String projectKey, String permissionName, String sidType, String sidName)
-
Constructor Details
-
ProjectPermissionsResource
@Inject public ProjectPermissionsResource(PermissionsTestService permissionsTestService, ProjectManager projectManager)
-
-
Method Details
-
grantProjectPermission
-
revokeProjectPermission
-