Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3728

Add support for authorizedCollections option to ListCollectionsOperation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Not Needed

      Use Case

      As a mongodb user with restricred privileges
      I want to be able to pass authorizedCollections option to the db.listCollections method
      So that I can get a list of collections on a databases that I have access to even if I don't have listCollections privilege

      User Impact

      Probably not much, but helpful for MongoDB tools like Compass or mongosh

      Dependencies

      No impact, this is not a breaking change

      Unknowns

      Doesn't look like there are any unknowns, it's a documented server option that can be passed to the listCollections command since 4.0

      Acceptance Criteria

      Implementation Requirements

      This seems like a trivial change that doesn't require any specific implementation reqs

      Testing Requirements

      Not sure

      Documentation Requirements

      Only driver api documentation changes (those are autogenerated from source IIUC)

      Follow Up Requirements

      None

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: