[SERVER-13698] Add roles and privileges to connectionStatus output Created: 23/Apr/14  Updated: 11/Jul/16  Resolved: 16/Sep/14

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.6.0
Fix Version/s: 2.7.7

Type: Improvement Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Amalia Hawkins
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-12143 Make some unauthenticated commands re... Closed
Related
is related to SERVER-12621 Reduce localhost exception permissions Closed
Participants:

 Description   

Currently the connectionStatus command returns the users you are currently authenticated as, but that is unfortunately not sufficient to fully understand what privileges the current connection has, for example due to the localhost exception. SERVER-12143 will make this even worse.
connectionStatus should be able to give you all your current privileges, from all logged in users and any other privileges that were granted to you by the system for other reasons.



 Comments   
Comment by Githook User [ 17/Sep/14 ]

Author:

{u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}

Message: SERVER-13698: fix connection status test.
Branch: master
https://github.com/mongodb/mongo/commit/688273daf84ed4d856726a80a9c40aa3c41f5b04

Comment by Githook User [ 16/Sep/14 ]

Author:

{u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}

Message: SERVER-13698: Add role and privilege info to connectionStatus output.
Branch: master
https://github.com/mongodb/mongo/commit/90202295ec60271830464d0f9829a41dfc2a45b1

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