Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-134

Mongodump and mongoexport should skip collections they don't have read access to

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: Legacy C++ Implementation
    • Fix Version/s: None
    • Component/s: mongodump, mongoexport
    • Labels:
      None

      Description

      Currently if you try to mongodump as a read-only user the dump fails when it cannot access the system.users collection. Instead of failing the dump completely, we should probably just log a warning and continue. This will become even more important once we have collection-level access control.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              spencer Spencer Brody (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: