Property | Type | Description | |
---|---|---|---|
$nodeTypeManager | |||
$privilegeManager | Neos\Flow\Security\Authorization\PrivilegeManagerInterface | ||
$securityContext |
Method | Description | |
---|---|---|
getDeniedNodePropertiesForEditing ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : string[] | ||
getNodeTypeNamesDeniedForCreation ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : string[] | Returns the node types that the currently authenticated user is *denied* to create within the given $referenceNode | |
isGrantedToCreateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, |
Returns TRUE if the currently authenticated user is allowed to create a node of type $typeOfNewNode within the given $referenceNode | |
isGrantedToEditNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | Returns TRUE if the currently authenticated user is allowed to edit the given $node, otherwise FALSE | |
isGrantedToEditNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
isGrantedToReadNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
isGrantedToRemoveNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | Returns TRUE if the currently authenticated user is allowed to remove the given $node |
public getDeniedNodePropertiesForEditing ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : string[] | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
return | string[] | Array of granted node property names |
public getNodeTypeNamesDeniedForCreation ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : string[] | ||
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
return | string[] | Array of granted node type names |
public isGrantedToCreateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, |
||
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$typeOfNewNode | ||
return | boolean |
public isGrantedToEditNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
return | boolean |
public isGrantedToEditNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$propertyName | string | |
return | boolean |
public isGrantedToReadNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$propertyName | string | |
return | boolean |
public isGrantedToRemoveNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
return | boolean |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
return |
protected PrivilegeManagerInterface,Neos\Flow\Security\Authorization $privilegeManager | ||
return | Neos\Flow\Security\Authorization\PrivilegeManagerInterface |