[SERVER-11411] No way to list all roles in 2.6 db Created: 28/Oct/13  Updated: 19/Dec/13  Resolved: 14/Nov/13

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.5.3
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (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
Operating System: ALL
Participants:

 Description   
  • "usersInfo" allows you to list all users
  • "rolesInfo" does not allow you to list all roles.

There is no way to "list all roles" currently.



 Comments   
Comment by Githook User [ 14/Nov/13 ]

Author:

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

Message: SERVER-11411 Give rolesInfo command the ability to list all roles defined for a given database.

This commit also introduces the "showPrivileges" option, which defaults to false, to rolesInfo to
control whether or not privilege information is included in the result.
Branch: master
https://github.com/mongodb/mongo/commit/4d5ba6b01fa2d38640ba5bc8bf5c99f305e619bf

Comment by Andy Schwerin [ 31/Oct/13 ]

Needs a little planning, so we'll have to fix for 2.5.5., I think.

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