Class RepositoryPermissionsResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.rest.resource.repository.RepositoryPermissionsResource
-
@Singleton public class RepositoryPermissionsResource extends Object
-
-
Constructor Summary
Constructors Constructor Description RepositoryPermissionsResource(PermissionsTestService permissionsTestService, RepositoryDefinitionManager repositoryDefinitionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.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 Detail
-
RepositoryPermissionsResource
public RepositoryPermissionsResource(PermissionsTestService permissionsTestService, RepositoryDefinitionManager repositoryDefinitionManager)
-
-
Method Detail
-
hasRepoPermission
public javax.ws.rs.core.Response hasRepoPermission(long repositoryId, String permissionName, String sidType, String sidName)
-
grantRepoPermission
public javax.ws.rs.core.Response grantRepoPermission(long repositoryId, String permissionName, String sidType, String sidName)
-
-