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

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • Legacy C++ Implementation
    • 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

        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: