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

Show ACL on every resource if you're an admin. #54

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Show ACL on every resource if you're an admin. #54

wants to merge 5 commits into from

Conversation

evert
Copy link
Collaborator

@evert evert commented Oct 31, 2022

Just had this idea this afternoon: wouldn't it be nice if we can quickly see the ACL list of every resource in an API by a click of the button.

This middleware does that. If you're an admin, a new button gets rendered on every resource:

Screenshot from 2022-10-31 19-26-51

Click it, and you'll see all the relevant privileges as fetched from a12n-server.

Screenshot from 2022-10-31 19-26-58

This feels like something that could one day be a curveball package.

Just had this idea this afternoon: wouldn't it be nice if we can quickly
see the ACL list of every resource in an API by a click of the button.

This middleware does that. If you're an admin, a new button gets
rendered everywhere.

Click it, and you'll see all the relevant privileges as fetched from
a12n-server.
@evert evert added the enhancement New feature or request label Oct 31, 2022
@evert evert self-assigned this Oct 31, 2022
@evert evert marked this pull request as ready for review October 31, 2022 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant