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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical - P2
    • Resolution: Duplicate
    • Legacy C++ Implementation
    • None
    • mongodump, mongoexport
    • 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

              Unassigned Unassigned
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: