Class DeploymentPermissionsResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.rest.resource.deployment.DeploymentPermissionsResource
-
@Singleton public class DeploymentPermissionsResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentPermissionsResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, PermissionsTestService permissionsTestService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
grantDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
javax.ws.rs.core.Response
grantEnvironmentPermission(long environmentId, String permissionName, String sidType, String sidName, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
javax.ws.rs.core.Response
hasDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
javax.ws.rs.core.Response
revokeDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
javax.ws.rs.core.Response
revokeEnvironmentPermission(long environmentId, String permissionName, String sidType, String sidName, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
-
-
Constructor Detail
-
DeploymentPermissionsResource
public DeploymentPermissionsResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, PermissionsTestService permissionsTestService)
-
-
Method Detail
-
hasDeploymentProjectPermission
public javax.ws.rs.core.Response hasDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
grantDeploymentProjectPermission
public javax.ws.rs.core.Response grantDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
revokeDeploymentProjectPermission
public javax.ws.rs.core.Response revokeDeploymentProjectPermission(long deploymentProjectId, String permissionName, String sidType, String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
grantEnvironmentPermission
public javax.ws.rs.core.Response grantEnvironmentPermission(long environmentId, String permissionName, String sidType, String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
revokeEnvironmentPermission
public javax.ws.rs.core.Response revokeEnvironmentPermission(long environmentId, String permissionName, String sidType, String sidName, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
-