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

Inheritance: extends Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege, implements Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface
Mostrar archivo Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$eelCompilingEvaluator Neos\Eel\CompilingEvaluator
$initialized boolean
$methodPrivilege Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface
$nodeContext NodePrivilegeContext
$nodeContextClassName string

Public Methods

Method Description
getCacheEntryIdentifier ( ) : string Unique identifier of this privilege
getPointcutFilterComposite ( ) : Neos\Flow\Aop\Pointcut\PointcutFilterInterface
initialize ( ) : void
matchesMethod ( string $className, string $methodName ) : boolean
matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean

Protected Methods

Method Description
buildMethodPrivilegeMatcher ( ) : string

Method Details

buildMethodPrivilegeMatcher() abstract protected method

abstract protected buildMethodPrivilegeMatcher ( ) : string
return string

getCacheEntryIdentifier() public method

Unique identifier of this privilege
public getCacheEntryIdentifier ( ) : string
return string

getPointcutFilterComposite() public method

public getPointcutFilterComposite ( ) : Neos\Flow\Aop\Pointcut\PointcutFilterInterface
return Neos\Flow\Aop\Pointcut\PointcutFilterInterface

initialize() public method

public initialize ( ) : void
return void

matchesMethod() public method

public matchesMethod ( string $className, string $methodName ) : boolean
$className string
$methodName string
return boolean

matchesSubject() public method

public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean
$subject Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface (one of NodePrivilegeSubject or MethodPrivilegeSubject)
return boolean

Property Details

$eelCompilingEvaluator protected_oe property

protected CompilingEvaluator,Neos\Eel $eelCompilingEvaluator
return Neos\Eel\CompilingEvaluator

$initialized protected_oe property

protected bool $initialized
return boolean

$methodPrivilege protected_oe property

protected MethodPrivilegeInterface,Neos\Flow\Security\Authorization\Privilege\Method $methodPrivilege
return Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface

$nodeContext protected_oe property

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

$nodeContextClassName protected_oe property

protected string $nodeContextClassName
return string