Nextcloud version : 28.0.5 AIO
Operating system and version : Rocky Linux
The issue you are facing:
Group administrators (as in, Nextcloud users that have permissions for managing a specific group of users) can’t see “Disabled users” anymore.
Clicking on “Disabled users” shows an empty list.
Is this the first time you’ve seen this error? : Yes
Steps to replicate it:
Create a user, give it a group membership, disable the user.
Log in as a group administrator of that same group.
Click on “Disabled users” in “Users” : list is empty.
The output of your Nextcloud log in Admin > Logging:
No errors logged
Notes: that the admin user can see disabled users. I am also running LDAPS
I’m on 28.0.5 and I’m using LDAP; could LDAP be a reason why this isn’t working? I made two users group admin of the “Users” group and neither of them can see disabled users. One of them actually ended up disabling a user and now that disabled user doesn’t show up under “Disabled Users.” I’m trying to figure a way around it by maybe making another group called “Unconfirmed Users” and fiddling with settings but I’d rather use the disabled user approach.
More weirdness. One user I made group admin was able to see some disabled users but not all.
Reading up more on this it looks like NC may be using a dummy “disabled users” group so this might not be playing nice with LDAP. I’m going to upgrade to 28.0.6 to see if this helps.
I guess this gets put under an architectural change and maybe this requires a feature request to move from a dummy disabled group to checking a “disabled” flag on the user record itself. Perhaps NC has an internal table of disabled users (separate from LDAP) that keeps a record of this and compares to the user list.