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

feat(ui): show effective user permissions on Users page #5927

Merged
merged 5 commits into from
Jun 8, 2022

Conversation

sranka
Copy link
Contributor

@sranka sranka commented Jun 7, 2022

This PR ensures that effective user permissions (including permissions from user roles) are shown on the Users Page.

image

The example above demonstrates effective permissions in action:

  • test1 role grants Write on [_internal,a,b] databases, user lojza has only this role and no extra granted permissions
  • test2 role grants Read on [a,b] databases, user pavel has only this role and no extra granted permissions
  • effective permissions for user pepa are shown, they represent user granted permissions (Write on x3 database) and all permissions granted by assigned roles (test1, test2)

It is a part of the solution to #5834

@sranka sranka marked this pull request as ready for review June 7, 2022 14:25
@sranka sranka requested review from k3yi0 and ivankudibal June 7, 2022 14:26
@sranka sranka force-pushed the feat/show_effective_perms_incl_roles branch from cfe65b7 to 6f6beaa Compare June 8, 2022 08:27
@sranka sranka merged commit 37a6934 into master Jun 8, 2022
@sranka sranka deleted the feat/show_effective_perms_incl_roles branch June 8, 2022 12:54
@sranka sranka added this to the 1.10 milestone Jun 8, 2022
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.

None yet

2 participants