@Singleton public class DeploymentPermissionsResource extends Object
Constructor and Description |
---|
DeploymentPermissionsResource(DeploymentProjectService deploymentProjectService,
EnvironmentService environmentService,
PermissionsTestService permissionsTestService) |
Modifier and Type | Method and 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) |
public DeploymentPermissionsResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, PermissionsTestService permissionsTestService)
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)
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)
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)
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)
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)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.