Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: NeosUserRole enum to reduce amount of magic strings #5410

Open
wants to merge 1 commit into
base: 9.0
Choose a base branch
from

Conversation

bwaidelich
Copy link
Member

No description provided.

use Neos\Neos\Domain\Service\WorkspaceService;

/**
* ...
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

Comment on lines +16 to +17
case EVERYBODY = 'Neos.Flow:Everybody';
case AUTHENTICATED_USER = 'Neos.Flow:AuthenticatedUser';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are obviously not Neos User roles.. Where could we put them instead? Or is it OK like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant