⚠️ This issue respects the following points: ⚠️
Bug description
A sub-admin editing a user who belongs to a group they administer cannot remove the user from that group because the user's current group memberships are not displayed in the edit dialog.
But user admin can see the user's group memberships and manage them as expected.
This appears to have been introduced by #59406.
Steps to reproduce
- Log in as
admin.
- Create two groups (e.g.
grp1 and grp2).
- Create a user (e.g.
demo) and add the user (demo) as both a member and admin of the two groups.
- Log in as
demo.
- Create another user (e.g.
user1) and add them as a member of the both groups.
- Open the edit dialog for
user1.
- Check the member of the following groups section.
Expected behavior
The user's current group memberships are displayed, and the sub-admin can remove the user from groups they manage (also related to #61013).
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
A
sub-adminediting a user who belongs to a group they administer cannot remove the user from that group because the user's current group memberships are not displayed in the edit dialog.But user
admincan see the user's group memberships and manage them as expected.This appears to have been introduced by #59406.
Steps to reproduce
admin.grp1andgrp2).demo) and add the user (demo) as both a member and admin of the two groups.demo.user1) and add them as a member of the both groups.user1.Expected behavior
The user's current group memberships are displayed, and the sub-admin can remove the user from groups they manage (also related to #61013).
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response