org.mycore.access.strategies
Interface MCRAccessCheckStrategy

All Known Implementing Classes:
MCRObjectIDStrategy, MCRObjectTypeStrategy, MCRParentRuleStrategy

public interface MCRAccessCheckStrategy


Method Summary
 boolean checkPermission(String id, String permission)
          determines whether the current user has the permission to perform a certain action.
 

Method Detail

checkPermission

boolean checkPermission(String id,
                        String permission)
determines whether the current user has the permission to perform a certain action.

Parameters:
id - the MCRObjectID of the object
permission - the access permission for the rule
Returns:
true if the access is allowed otherwise it return
See Also:
MCRAccessManager.checkPermission(String, String)