Map identity provider groups to Mila roles #651
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
local-it/mitgliederverwaltung#651
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Since #646 the single sign-on sync manages only the Admin role: a user in the admin group (
OIDC_ADMIN_GROUP_NAME) becomes Admin, an Admin who is no longer in it becomes "Mitglied", and every other role assigned in Mila stays. Clubs that keep their board, treasurer or office staff in identity provider groups still have to assign those roles by hand in Mila and keep both places in sync.Proposal
Let an admin map identity provider groups to Mila roles (for example
vorstand→ board role,kasse→ treasurer role), configurable in the settings page and through an environment variable, like the other single sign-on settings. The admin group becomes one entry of this mapping, or stays a separate field (to decide).Decisions to make
adminpermission set is treated like any other role. Decide whether the mapping and the last-admin guard should go by name or by permission set.Keep from #646
Acceptance criteria
docs/admin-bootstrap-and-oidc-role-sync.mddescribes the mapping.