Package org.mycore.access.strategies
Class MCRDerivateIDStrategy
java.lang.Object
org.mycore.access.strategies.MCRDerivateIDStrategy
- All Implemented Interfaces:
MCRAccessCheckStrategy
- Author:
- Silvio Hermann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPermission
(String id, String permission) determines whether the current user has the permission to perform a certain action.
-
Constructor Details
-
MCRDerivateIDStrategy
public MCRDerivateIDStrategy()
-
-
Method Details
-
checkPermission
Description copied from interface:MCRAccessCheckStrategy
determines whether the current user has the permission to perform a certain action.- Specified by:
checkPermission
in interfaceMCRAccessCheckStrategy
- Parameters:
id
- the MCRObjectID of the objectpermission
- the access permission for the rule- Returns:
- true if the access is allowed otherwise it return
- See Also:
-