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

Inheritance: implements Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface
Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$joinPoint Neos\Flow\Aop\JoinPointInterface
$node Neos\ContentRepository\Domain\Model\NodeInterface

Public Methods

Method Description
__construct ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\Flow\Aop\JoinPointInterface $joinPoint = null )
getJoinPoint ( ) : Neos\Flow\Aop\JoinPointInterface
getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface

Method Details

__construct() public method

public __construct ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\Flow\Aop\JoinPointInterface $joinPoint = null )
$node Neos\ContentRepository\Domain\Model\NodeInterface The node we will check privileges for
$joinPoint Neos\Flow\Aop\JoinPointInterface If we intercept node operations, this joinpoint represents the method called on the node and holds a reference to the node we will check privileges for

getJoinPoint() public method

public getJoinPoint ( ) : Neos\Flow\Aop\JoinPointInterface
return Neos\Flow\Aop\JoinPointInterface

getNode() public method

public getNode ( ) : Neos\ContentRepository\Domain\Model\NodeInterface
return Neos\ContentRepository\Domain\Model\NodeInterface

Property Details

$joinPoint protected property

protected JoinPointInterface,Neos\Flow\Aop $joinPoint
return Neos\Flow\Aop\JoinPointInterface

$node protected property

protected NodeInterface,Neos\ContentRepository\Domain\Model $node
return Neos\ContentRepository\Domain\Model\NodeInterface