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

WIP: Extended Privilege syntax #3410

Closed
wants to merge 1 commit into from

Conversation

bwaidelich
Copy link
Member

Extend privilege syntax to allow for custom, dedicated options:

e.g. instead of:

privilegeTargets:
  'Neos\Neos\Security\Authorization\Privilege\EditNodePrivilege':
    'Neos.Demo:EditBlogNodes':
      matcher: 'default:blog'

this would allow for:

privilegeTargets:
  'Neos\Neos\Security\Authorization\Privilege\EditNodePrivilege':
    'Neos.Demo:EditBlogNodes':
      contentRepository: 'default'
      subtreeTag: 'blog'

@bwaidelich
Copy link
Member Author

This is a rabbit hole..
Maybe we can come up with a minimal version that just allows to specify dedicated target options but I close this one for now

@bwaidelich bwaidelich closed this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant