feat: instance administrators from a group of the identity provider #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/20-provider-admin-groups"
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?
Closes #20
What
OIDC_ADMIN_GROUPS: comma-separated groups of the provider. A user whose ID token lists one of them holds the instance roleadmin.OIDC_GROUPS_CLAIM: claim listing the groups (defaultgroups).Until now no right came from the provider. This is the one exception, off by default and chosen by the operator.
How it behaves
providerRoles, apart fromroles, which only the administration command writes. One never changes the other.providerRolescounts only whileOIDC_ADMIN_GROUPSis set: removing the setting takes the role back at the next request, without waiting for a sign-in.account:listshows the role asadmin(provider).Security
Whoever manages these groups at the provider manages the administrators of the instance. The documentation says so.
Verified
yarn test: 67 tests pass, 5 new.admin(provider);Not verified
🤖 Generated with Claude Code