nextcloud / nextcloud/server

Create a role User administrator

Open
#7,482 14 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: users and groups
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Actual behaviour

Nextcloud knows 2 admin groups:

Super Administrators and Group Administrators

As of https://docs.nextcloud.com/server/12/admin_manual/configuration_user/user_configuration.html#granting-administrator-privileges-to-a-user

  • Group Administrators can only act in their group, but they cannot create a group or assign a group admin
  • Super Administrators have full privileges
Expected behaviour
  • In many cases I want a User administrator: This role has full access to all user settings, but cannot assign the admin role to a user and has no access to the admin settings.
  • Use case: We want grant some users the ability of all privileges of managing users but we donnot grant them access to the admin settings. They can create groups, assign group admins and delete any user but those of the admin role.

I think this a very common scenario.

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

Start by reading the linked administrator-privileges documentation and tracing how Super Administrators and Group Administrators are currently handled. Done means a distinct User administrator role can manage users, create groups, assign group administrators, and delete non-admin users without assigning admin roles or accessing admin settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.