Class PermissionPredicateEvaluator

  • All Implemented Interfaces:
    PredicateEvaluator

    public class PermissionPredicateEvaluator
    extends AbstractPredicateEvaluator
    Restricts the result to items where the current session has the specified JCR privileges.

    This is a filtering-only predicate and cannot leverage a search index. Does not support facet extraction.

    Name:

    hasPermission

    Properties:

    hasPermission
    comma-separated JCR privileges that the current user session must ALL have for the node in question; for example jcr:write,jcr:modifyAccessControl
    Since:
    6.1