NodeTreePrivilege
class NodeTreePrivilege extends EditNodePrivilege (View source)
A privilege to show (document) nodes in the navigate component of the Neos backend.
This also includes any manipulation of the affected nodes
Properties
protected CompilingEvaluator | $eelCompilingEvaluator | from AbstractNodePrivilege | |
protected | $nodeContextClassName | from AbstractNodePrivilege | |
protected NodePrivilegeContext | $nodeContext | from AbstractNodePrivilege | |
protected MethodPrivilegeInterface | $methodPrivilege | from AbstractNodePrivilege | |
protected | $initialized | from AbstractNodePrivilege |
Methods
No description
Evaluates the matcher with this objects nodeContext and returns the result.
This is the pointcut expression for all methods to intercept.
Details
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, array $parameters)
No description
void
initialize()
No description
protected void
buildCacheEntryIdentifier()
No description
string
getCacheEntryIdentifier()
Unique identifier of this privilege
bool
matchesSubject(PrivilegeSubjectInterface $subject)
No description
bool
matchesMethod(string $className, string $methodName)
No description
PointcutFilterInterface
getPointcutFilterComposite()
No description
protected void
initializeMethodPrivilege()
No description
protected mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
protected string
buildMethodPrivilegeMatcher()
This is the pointcut expression for all methods to intercept.
It targets all public methods that could change the outer state of a node. Note: Node::setIndex() is excluded because that might be called by the system when redistributing nodes on one level