[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: SERVER-13281 Make getUser shell helper take extra arguments to usersInfo, just like the getRole helper does

(cherry picked from commit fd1ac5955a4f2d4d0c74ab3e88d4b49169973b11)
Branch: v2.6
https://github.com/mongodb/mongo/commit/376a9b28361bb55a7d2cbd2ebd30df39a7526098

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: SERVER-13281 Make getUser shell helper take extra arguments to usersInfo, just like the getRole helper does
Branch: master
https://github.com/mongodb/mongo/commit/fd1ac5955a4f2d4d0c74ab3e88d4b49169973b11

Generated at Thu Feb 08 03:31:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.