Свойство | Тип | Описание | |
---|---|---|---|
$nodeTypeManager | |||
$privilegeManager | Neos\Flow\Security\Authorization\PrivilegeManagerInterface | ||
$securityContext |
Метод | Описание | |
---|---|---|
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 | |
Результат | string[] | Array of granted node property names |
public getNodeTypeNamesDeniedForCreation ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : string[] | ||
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | string[] | Array of granted node type names |
public isGrantedToCreateNode ( Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode, |
||
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$typeOfNewNode | ||
Результат | boolean |
public isGrantedToEditNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | boolean |
public isGrantedToEditNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$propertyName | string | |
Результат | boolean |
public isGrantedToReadNodeProperty ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $propertyName ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$propertyName | string | |
Результат | boolean |
public isGrantedToRemoveNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | boolean |
protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager | ||
Результат |
protected PrivilegeManagerInterface,Neos\Flow\Security\Authorization $privilegeManager | ||
Результат | Neos\Flow\Security\Authorization\PrivilegeManagerInterface |