public interface CatalogVersionPermissionService
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPermission(java.lang.String requestMethod,
HttpServletResponse response,
java.lang.String catalog,
java.lang.String catalogVersion)
Determines if the current user has read or write permission to the catalog version for an operation given by the
request's HTTP method.
|
boolean hasPermission(java.lang.String requestMethod,
HttpServletResponse response,
java.lang.String catalog,
java.lang.String catalogVersion)
throws java.io.IOException
HttpStatus#FORBIDDEN is returned.requestMethod - the HTTP request method: GET, PUT, POST or DELETEresponse - the HTTP servlet response containing the error message if the user does not have access to the requested
catalog versioncatalog - the catalog identifiercatalogVersion - the catalog version identifiertrue when the current user has read or write permission to the given catalog version or is an
anonymous user; false otherwise.java.io.IOException - when an error occurs while raising the errorCopyright © 2018 SAP SE. All Rights Reserved.