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 Type
    Method
    Description
    boolean
    checkPermission(String id, String permission)
    determines whether the current user has the permission to perform a certain action.
  • Method Details

    • 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: