@Component public class WorkflowRestPermissionEvaluatorPlugin extends RestObjectPermissionEvaluatorPlugin
| Constructor and Description |
|---|
WorkflowRestPermissionEvaluatorPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasDSpacePermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
DSpaceRestPermission permission)
Plugins must implement this method to receive
RestPermissionEvaluatorPlugin hasPermission
requests. |
hasPatchPermission, hasPermission, hasPermissionpublic WorkflowRestPermissionEvaluatorPlugin()
public boolean hasDSpacePermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
DSpaceRestPermission permission)
RestObjectPermissionEvaluatorPluginRestPermissionEvaluatorPlugin hasPermission
requests.hasDSpacePermission in class RestObjectPermissionEvaluatorPluginauthentication - Authentication object providing user details of the authenticated usertargetId - Unique identifier of the target object the user wants to view or manipulatetargetType - Type of the target object the users wants to view or manipulatepermission - Permission object that describes the action the user wants to perform on the target objectCopyright © 2019 DuraSpace. All rights reserved.