[SERVER-13281] Make getUser shell helper support extra arguments to the usersInfo command Created: 19/Mar/14 Updated: 05/Nov/15 Resolved: 26/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Usability |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | 2.6.0-rc3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
The getUsers, getRole, and getRoles helpers all support an arguments dict that gets passed into usersInfo/rolesInfo and allows specifying options such as {showPrivileges:1}, but the db.getUser() helper does not. We should add that functionality to the getUser helper so it is more similar to the other user/role viewing helpers. |
| Comments |
| Comment by Githook User [ 26/Mar/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: (cherry picked from commit fd1ac5955a4f2d4d0c74ab3e88d4b49169973b11) |
| Comment by Githook User [ 26/Mar/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |