Skip to content

Commit

Permalink
Add inline docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Nov 6, 2024
1 parent da297ec commit 187b80e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

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;
use Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface;
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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 187b80e

Please sign in to comment.