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

How to manage permissions in organization easily? #70

Closed
jaakkom opened this issue May 9, 2023 · 2 comments
Closed

How to manage permissions in organization easily? #70

jaakkom opened this issue May 9, 2023 · 2 comments

Comments

@jaakkom
Copy link

jaakkom commented May 9, 2023

Lets say:

Organization might have a lot of roles like:

-ViewSomenthing
-ManageSomething
-ViewSomenthing2
-ManageSomething2
....

Those are more like "scopes" than roles actually.

Role would be "admin, employee, customer" which should combine some scopes into it. Now have to select all scopes manually for each user.

@jaakkom
Copy link
Author

jaakkom commented May 9, 2023

Organization role composition could solve this?

@xgp
Copy link
Member

xgp commented May 9, 2023

Hi @jaakkom Thanks for the messages. There are 2 things we are considering that are relevant to your ideas.

  1. [Discussion] - Decouple roles from organizations - potentially breaking change #48 Potentially decoupling roles from their association with a single organization
  2. https://github.com/a8t3r/keycloak-orgs-copy/tree/support-organization-groups Creating "organization groups", which would allow the grouping you're suggesting (e.g. "admin, employee, customer")

Additionally, because we have many people using the extension, we want to have a mechanism of backwards compatibility and/or an easy upgrade path for existing users.

Also, regarding enhancement requests, if you'd like to see something (major) changed, a complete design proposal, or a PR with a complete implementation is the best way to get something into the project. @a8t3r 's groups proposal is a great example.

@xgp xgp closed this as completed May 9, 2023
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

No branches or pull requests

2 participants