Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Database
Created by Guest
Created on Apr 14, 2022

collection-level users should be able to list their collections

Currently users with collection-specific read or read/write permissions are not authorized to perform the following commands: db.listCollections() show collections db.getCollectionNames() This impacts the shell (and also third party tools that won't let users access their permitted collections because the list of collections is blocked in the first place) Suggestion: Users with collection-specific read or read/write permissions should be able to run the above commands and the result would only present the collections for which the user has some read or write privileges (instead of blocking everything).
  • Attach files