-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbuggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
- Hardcoded limit COUNT_LIMIT_FOR_SUBADMINS = 999 in /apps/settings/lib/Controller/UsersController.php:60
- When user is Group Admin (subadmin), the system intentionally stops counting at 999 users for performance reasons
- UsersController.php:165 calls countUsersAndDisabledUsersOfGroups() with this 999 limit
Steps to reproduce
- Create a Nextcloud user with "Group Admin" privileges for a group containing > 999 users (e.g. 5000 or more).
- Log in as the Group Admin.
- Go to "Accounts"
Expected behavior
Expected behavior
The number of users at "All accounts" shown in the left-hand sidebar should reflect the actual number of users the Group Admin can browse (e.g. "5241").
Actual behavior
The sidebar always shows "All accounts 999", even though the Group Admin can browse through more than 999 users without any issue.
Nextcloud Server version
31
Operating system
None
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?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Proposed fix:
- display to "999+" when limit is reached (minimal code change)
- make limit configurable via system config (might affect perfs if big)
sorbaugh
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbuggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.