nextcloud / nextcloud/user_oidc

Setting to give admin rights

Open
#611 1 comment 19 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.