Class DeploymentPermissionsResource


  • @Singleton
    public class DeploymentPermissionsResource
    extends Object
    • 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)