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

Allow user impersonation to quickly try out other roles #1012

Open
sschuberth opened this issue Sep 11, 2024 · 3 comments
Open

Allow user impersonation to quickly try out other roles #1012

sschuberth opened this issue Sep 11, 2024 · 3 comments
Labels
backend Issues related to the backend. enhancement New feature or request. ui Issues related to the UI.

Comments

@sschuberth
Copy link
Contributor

Before inviting new user or changing roles of a user, you want to be very sure to not accidentally grant to wide permissions. To double-check the planned roles to give, an "impersonation" feature would be great that allows to temporarily play "what if" by giving one's own user different roles to see the effect of the role change.

@sschuberth sschuberth added enhancement New feature or request. ui Issues related to the UI. backend Issues related to the backend. labels Sep 11, 2024
@Etsija
Copy link
Contributor

Etsija commented Sep 18, 2024

When implementing #1031 I noticed that as they are, the permissions are already "too wide": giving a user READERS rights to an organization allows the user to see all products under the org., and all repositories in all these products. Same goes for WRITERS and ADMINS rights: all access rights cascade down the entity tree, see my issue #1056, item 3.

@mnonnenmacher
Copy link
Contributor

Keycloak has an impersonation feature: https://www.keycloak.org/docs/latest/server_admin/#con-user-impersonation_server_administration_guide
I haven't tried it, but maybe this can be used without any code changes in the server.

@sschuberth
Copy link
Contributor Author

sschuberth commented Oct 7, 2024

Keycloak has an impersonation feature

It seems to be available in version 23.0.0 already, so that's good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend. enhancement New feature or request. ui Issues related to the UI.
Projects
None yet
Development

No branches or pull requests

3 participants