user_oidc
user_oidc copied to clipboard
Setting to give admin rights
Add a setting to give admin rights (add group admin to user) based on OIDC claim. The most common way would be to give admin rights based on group membership in a group that can be specified in the settings.
Currently, Nextcloud gives admin rights to members of the group admin. This group name cannot be changed. However, that group name can have a different meaning on the SSO provider side, e.g. the admin for the SSO provider. So allowing to specify a group name and then add the admin group would be the more flexible way to go.
I'm interested in something like this:
"nextcloud": {
"groups": ["admin", "other group"],
"groupAdminFor": ["other group"],
}