nextcloud / nextcloud/server

[Bug]: Renamed User Groups are still shown with the old name in dropdowns

Open
#58,088 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 32-feedback bug feature: users and groups hotspot: account name handling
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

HI,
we have created several user groups and had to rename one of them. that worked fine.

But when we edit a user and want to add/remove him to a group - or when we go to apps and limit an app to a specific user group - then those selections / dropdowns still show the old name. - it looks like renaming does not rename all the instances of the group-name. at some places the old name is still used and referenced.

Steps to reproduce

quite a long time ago that we renamed it and just stumbled across the problem.

so i guess it works like this

  1. create a user group
  2. rename it
  3. assign it to a user - you will find the old name.
Expected behavior

new name should be used everywhere.

Nextcloud Server version

32

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

Reproduce this on Nextcloud Server 32 by creating, renaming, and then assigning a user group, including through app-restriction selections. Start with the user-edit and app-group dropdown entry points; done means the renamed group appears consistently and the old name no longer appears after the rename.

Written by the indexing model from the issue text.

Assessment

Domain
backend, frontend
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.