ReadNodePropertyPrivilege
class ReadNodePropertyPrivilege extends AbstractNodePropertyPrivilege (View source)
A privilege to restrict reading of node properties.
This is needed, as the technical implementation is not based on the entity privilege type, that the read node privilege (retrieving the node at all) ist based on.
Properties
protected CompilingEvaluator | $eelCompilingEvaluator | from AbstractNodePrivilege | |
protected string | $nodeContextClassName | from AbstractNodePropertyPrivilege | |
protected PropertyAwareNodePrivilegeContext | $nodeContext | from AbstractNodePropertyPrivilege | |
protected MethodPrivilegeInterface | $methodPrivilege | from AbstractNodePrivilege | |
protected bool | $initialized | from AbstractNodePrivilege | |
protected array | $methodNameToPropertyMapping |
Methods
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, $parameters)
Constructor
bool
matchesSubject(PrivilegeSubjectInterface $subject)
No description
mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
string
buildMethodPrivilegeMatcher()
No description
Details
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, $parameters)
Constructor
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
initializeMethodPrivilege()
No description
protected mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
protected string
buildMethodPrivilegeMatcher()
No description
array
getNodePropertyNames()
No description