diff --git a/Neos.Neos/Classes/Security/Authorization/Privilege/AbstractSubtreeTagBasedPrivilege.php b/Neos.Neos/Classes/Security/Authorization/Privilege/AbstractSubtreeTagBasedPrivilege.php index ee5e41f0f6..e42051d4bc 100644 --- a/Neos.Neos/Classes/Security/Authorization/Privilege/AbstractSubtreeTagBasedPrivilege.php +++ b/Neos.Neos/Classes/Security/Authorization/Privilege/AbstractSubtreeTagBasedPrivilege.php @@ -14,7 +14,6 @@ namespace Neos\Neos\Security\Authorization\Privilege; -use Neos\ContentRepository\Core\Feature\SubtreeTagging\Dto\SubtreeTag; use Neos\ContentRepository\Core\Feature\SubtreeTagging\Dto\SubtreeTags; use Neos\ContentRepository\Core\SharedModel\ContentRepository\ContentRepositoryId; use Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege; @@ -22,7 +21,8 @@ use Neos\Flow\Security\Exception\InvalidPrivilegeTypeException; /** - * TODO docs + * Common base class for privileges that evaluate {@see SubtreeTagPrivilegeSubject}s + * @see ReadNodePrivilege, EditNodePrivilege */ abstract class AbstractSubtreeTagBasedPrivilege extends AbstractPrivilege { diff --git a/Neos.Neos/Classes/Security/Authorization/Privilege/EditNodePrivilege.php b/Neos.Neos/Classes/Security/Authorization/Privilege/EditNodePrivilege.php index 52d94c0516..83c9f53b88 100644 --- a/Neos.Neos/Classes/Security/Authorization/Privilege/EditNodePrivilege.php +++ b/Neos.Neos/Classes/Security/Authorization/Privilege/EditNodePrivilege.php @@ -14,14 +14,9 @@ namespace Neos\Neos\Security\Authorization\Privilege; -use Neos\ContentRepository\Core\Feature\SubtreeTagging\Dto\SubtreeTag; -use Neos\ContentRepository\Core\SharedModel\ContentRepository\ContentRepositoryId; -use Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege; -use Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface; -use Neos\Flow\Security\Exception\InvalidPrivilegeTypeException; - /** - * TODO docs + * The privilege to edit any matching node in the Content Repository. + * This includes creation, setting properties or references, disabling/enabling, tagging and moving corresponding nodes */ class EditNodePrivilege extends AbstractSubtreeTagBasedPrivilege { diff --git a/Neos.Neos/Classes/Security/Authorization/Privilege/ReadNodePrivilege.php b/Neos.Neos/Classes/Security/Authorization/Privilege/ReadNodePrivilege.php index f96f1a0dda..dfbe9f138f 100644 --- a/Neos.Neos/Classes/Security/Authorization/Privilege/ReadNodePrivilege.php +++ b/Neos.Neos/Classes/Security/Authorization/Privilege/ReadNodePrivilege.php @@ -14,14 +14,9 @@ namespace Neos\Neos\Security\Authorization\Privilege; -use Neos\ContentRepository\Core\Feature\SubtreeTagging\Dto\SubtreeTag; -use Neos\ContentRepository\Core\SharedModel\ContentRepository\ContentRepositoryId; -use Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege; -use Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface; -use Neos\Flow\Security\Exception\InvalidPrivilegeTypeException; - /** - * TODO docs + * The privilege to read any matching node from the Content Repository. + * This includes all properties, references and metadata */ class ReadNodePrivilege extends AbstractSubtreeTagBasedPrivilege {