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 Summary
ConstructorDescriptionRepositoryPermissionsResource
(PermissionsTestService permissionsTestService, RepositoryDefinitionManager repositoryDefinitionManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
grantRepoPermission
(long repositoryId, String permissionName, String sidType, String sidName) javax.ws.rs.core.Response
hasRepoPermission
(long repositoryId, String permissionName, String sidType, String sidName) javax.ws.rs.core.Response
revokeRepoPermission
(long repositoryId, String permissionName, String sidType, String sidName)
-
Constructor Details
-
RepositoryPermissionsResource
@Inject public RepositoryPermissionsResource(PermissionsTestService permissionsTestService, RepositoryDefinitionManager repositoryDefinitionManager)
-
-
Method Details
-
hasRepoPermission
-
grantRepoPermission
-
revokeRepoPermission
-