Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1393

Support authorizedCollections option for listCollections helpers

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: listCollections
    • None
    • Needed
    • Hide

      Drivers should sync with mongodb/specifications@15302d2 which introduced the authorizedCollections option to the three listCollections methods: listCollections, listCollectionNames, listMongoCollections.

       

      Show
      Drivers should sync with mongodb/specifications@15302d2  which introduced the authorizedCollections option to the three listCollections methods: listCollections , listCollectionNames , listMongoCollections .  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4191 Backlog
      CXX-2392 Backlog
      CSHARP-3918 Fixed 2.15.0
      GODRIVER-2190 Done 1.9.0
      JAVA-4353 Done 5.0.0
      NODE-3687 Duplicate
      PHPLIB-740 Fixed 1.12.0
      PYTHON-2950 Works as Designed
      MOTOR-835 Works as Designed
      RUBY-2814 Fixed 2.18.0
      RUST-1063 Backlog
      SWIFT-1377 Fixed 1.4.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4191 Backlog CXX-2392 Backlog CSHARP-3918 Fixed 2.15.0 GODRIVER-2190 Done 1.9.0 JAVA-4353 Done 5.0.0 NODE-3687 Duplicate PHPLIB-740 Fixed 1.12.0 PYTHON-2950 Works as Designed MOTOR-835 Works as Designed RUBY-2814 Fixed 2.18.0 RUST-1063 Backlog SWIFT-1377 Fixed 1.4.0

      MongoDB 4.0 added an authorizedCollections boolean option to the listCollections command, which can be used to limit the command result to collections the user is authorized to use.

      This ticket should allow the users to set the authorizedCollections option on the listCollections, listCollectionNames, and listMongoCollections driver methods.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmainaud@zeenea.com Jérôme Mainaud
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: