[SERVER-12073] "show users" shell helper broken in new user document model Created: 12/Dec/13  Updated: 11/Jul/16  Resolved: 14/Jan/14

Status: Closed
Project: Core Server
Component/s: Security, Usability
Affects Version/s: 2.5.4
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-12074 Add "show roles" shell helper Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The shell has a hardcoded helper "show users" which is used to print the users defined on the current database. This is implemented, however, by querying the current database's system.users collection, which not the right way to view users in 2.6. We should update that helper to use the usersInfo command instead.



 Comments   
Comment by Githook User [ 14/Jan/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-12073 Fix "show users" shell helper to use the usersInfo command
Branch: master
https://github.com/mongodb/mongo/commit/93f27e7d3bc6db0b0ba6b92cfe9cf69d54a82d0e

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