Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-2212

Progress bar initialization should not require the listCollections privilege

    XMLWordPrintable

    Details

    • Backport Requested:
      v4.0

      Description

      Even when you have privileges to run a query against a collection, mongoexport fails because it requires listCollections. I had a standard read/write user in Atlas to a specific collection and do not have that privilege.

      mongoexport --uri "mongodb+srv://aly:<pwd>@<host>/<db>" -c pings --limit=30
       
      2019-02-01T11:22:18.154-0500 Failed: error running `listCollections`. Database: `<db>` Err: not authorized on <db> to execute command \{ listCollections: 1, filter: { name: "pings" }, cursor: {}, $db: "<db>" }
      

        Attachments

          Activity

            People

            • Assignee:
              david.golden David Golden
              Reporter:
              alyson.cabral Alyson Cabral
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: