user_oidc icon indicating copy to clipboard operation
user_oidc copied to clipboard

Setting to give admin rights

Open hr87 opened this issue 2 years ago • 1 comments

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.

hr87 avatar Apr 05 '23 02:04 hr87

I'm interested in something like this:

"nextcloud": {
  "groups": ["admin", "other group"],
  "groupAdminFor": ["other group"],
}

n3vu0r avatar Jun 05 '23 07:06 n3vu0r