nextcloud / nextcloud/user_oidc
Setting to give admin rights
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 181
- Forks
- 60
- Avg merge
- 7h 34m
- Merged PRs (30d)
- 26
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by locating the OIDC claim and group-mapping settings, then trace how membership in Nextcloud's admin group is assigned. Done means a configurable OIDC group claim grants membership in the admin group without changing the existing default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100