[DOCS-11103] Docs for SERVER-6898: Allow all authenticated users to run listDatabases Created: 08/Dec/17 Updated: 29/Oct/23 Resolved: 04/Jun/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kay Kim (Inactive) | Assignee: | Jeffrey Allen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 5 years, 36 weeks, 2 days ago | ||||||||
| Epic Link: | DOCS: 4.0 Server | ||||||||
| Description |
Documentation Request Summary:DescriptionPreviously, the listDatabases command would fail "Unauthorized" for any user who does not have the listDatabases privilege. With this change, all users will get some kind of positive result, however if this may be a partial or even empty set depending on the user's read permissions. Scope of Changes
Other Docs Affected
Engineering Ticket Description:EDITED Mar 5 2015
====================== This is currently not possible. The user needs to either know the DB name to connect to upfront, or connect as admin for show dbs to work. 3drepo.org has a use case for this. This is related to: MySQL and others will happily list dbs to any user. |
| Comments |
| Comment by Githook User [ 04/Jun/18 ] |
|
Author: {'username': 'jeff-allen-mongo', 'name': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com'}Message: |
| Comment by Jeffrey Allen [ 04/Jun/18 ] |
|
This is RFM: https://github.com/mongodb/docs/pull/3324 |
| Comment by Jeffrey Allen [ 24/May/18 ] |
|
Code review: https://mongodbcr.appspot.com/201720002/ |