[SERVER-35698] usersInfo output capped at 101 users Created: 19/Jun/18 Updated: 29/Oct/23 Resolved: 20/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Usability |
| Affects Version/s: | 4.0.0-rc6 |
| Fix Version/s: | 4.0.0-rc7, 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Jackson | Assignee: | Spencer Jackson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SWNA | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0
|
||||||||
| Sprint: | Platforms 2018-07-02 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 15 | ||||||||
| Description |
|
In order to transform internal user documents to a format that may be consumed by end users, the usersInfo command invokes the aggregation framework. If more than 101 documents, the default batch size, would be returned to the client, then the output may become truncated. No error is returned in the response to indicate that not all documents were returned. |
| Comments |
| Comment by Githook User [ 20/Jun/18 ] |
|
Author: {'username': 'spencerjackson', 'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com'}Message: (cherry picked from commit 4132ecabfdc1de9b1fcc2df3188c089ad9c22e27) |
| Comment by Githook User [ 20/Jun/18 ] |
|
Author: {'username': 'spencerjackson', 'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com'}Message: |
| Comment by Timothy Olsen (Inactive) [ 20/Jun/18 ] |
|
We currently only use usersInfo to detect if a user exists. For example, we will call {usersInfo: {user: "tim", db: "mongodb"}}. We do not currently call usersInfo to get a list of all users. |