Package org.mycore.access.strategies
Interface MCRAccessCheckStrategy
- All Known Subinterfaces:
MCRCombineableAccessCheckStrategy
- All Known Implementing Classes:
MCRAccessKeyStrategy
,MCRCreatorRuleStrategy
,MCRDerivateIDStrategy
,MCRFactsAccessSystem
,MCRObjectBaseStrategy
,MCRObjectIDStrategy
,MCRObjectTypeStrategy
,MCRParentRuleStrategy
public interface MCRAccessCheckStrategy
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPermission
(String id, String permission) determines whether the current user has the permission to perform a certain action.
-
Method Details
-
checkPermission
determines whether the current user has the permission to perform a certain action.- 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:
-