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

exposes required permissions to users next to the header with a shiel… #2011

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

Masterjun3
Copy link
Collaborator

This PR adds a shield icon on pages that require permissions to view.

image

Clicking on the shield icon shows a modal:

image

This PR automatically adds this behavior to pages that use the Require attribute. It can also show multiple permissions, where it will then say the user has "one of" or "all of" permissions, depending on which applies.

@adelikat adelikat merged commit a65ac08 into main Oct 18, 2024
1 check passed
@adelikat adelikat deleted the show-required-permissions-of-pages branch October 18, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants