nextcloud / nextcloud/server

[Bug]: Group admin view: missing groups and numbers in sidebar

Open
#57,365 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback enhancement feature: users and groups
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

A group admin can see all users that are in at least one of his administered groups under /settings/users.

In the sidebar, there should be all the groups listed where anyone of the shown users is in - including groups that are not administered by said group admin, so that they can filter the list for these groups.

But in the sidebar there are only the groups listed which are administered by said group admin.

Also, the user count for each group is missing.

Steps to reproduce
  1. Create some users and some groups
  2. Make one of the users group admin of some (but not all) the groups
  3. Log in as that group admin user and go to /settings/users
Expected behavior

In the sidebar under /settings/users, there should be all the groups listed where anyone of the shown users is in - including groups that are not administered by said group admin, so that they can filter the list for these groups. Also, the user count for each group in the sidebar should be there.

Nextcloud Server version

32

Additional info
Admin View Group Admin View
Image Image

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

The affected entry point is /settings/users; reproduce with a group admin who belongs to some but not all groups and compare the sidebar with the full admin view. Trace how the sidebar groups and user counts are supplied, then verify that all groups represented by visible users appear with counts and remain filterable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
full-stack
Issue type
Bug
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.