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

Synchronize Groups Feature #53

Open
col-panic opened this issue Oct 17, 2024 · 0 comments
Open

Synchronize Groups Feature #53

col-panic opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@col-panic
Copy link

It would be nice to be able to synchronize the membership of groups to the info provided via Oauth.

Lets fix an example, on the redmine system there exist 3 groups, that can be seen via https://my.redmine.org/groups
named supporter, controller, manager. Now the membership to each of these groups is dynamically
assigned via oauth2.

Currently there is the setting Validate user roles to allow overall access and/or admin rights.

The setting Dynamic group membership could just the same way be used to insert a value like roles.redmine where
the following example content

roles: {
  redmine: ["supporter", "controller"]
}

would assign the given user to be a member of the supporter and controllergroup.

  • If JWT contains a group which does not exist in redmine: ignore it
  • Assignments are absolute, so for this example, in any other groups defined, the user would NOT be a member
@picman picman added the enhancement New feature or request label Oct 24, 2024
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

No branches or pull requests

2 participants