PHP Class Neos\ContentRepository\Security\Authorization\Privilege\Node\AbstractNodePropertyPrivilege

Inheritance: extends AbstractNodePrivilege
Mostra file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$methodNameToPropertyMapping array With this mapping we can treat methods like properties. E.g. we want to be able to have a property "hidden" even though there is no real property called like this. Instead the set/getHidden() methods should match this "property".
$nodeContext PropertyAwareNodePrivilegeContext
$nodeContextClassName string

Public Methods

Method Description
getNodePropertyNames ( ) : array
matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean

Method Details

getNodePropertyNames() public method

public getNodePropertyNames ( ) : array
return array

matchesSubject() public method

public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean
$subject Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface
return boolean

Property Details

$methodNameToPropertyMapping protected_oe property

With this mapping we can treat methods like properties. E.g. we want to be able to have a property "hidden" even though there is no real property called like this. Instead the set/getHidden() methods should match this "property".
protected array $methodNameToPropertyMapping
return array

$nodeContext protected_oe property

protected PropertyAwareNodePrivilegeContext,Neos\ContentRepository\Security\Authorization\Privilege\Node $nodeContext
return PropertyAwareNodePrivilegeContext

$nodeContextClassName protected_oe property

protected string $nodeContextClassName
return string