Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36080

Write auth tests exercising bypassDocumentValidation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Security
    • Query Optimization

    Description

      According to the documentation, the following commands accept the bypassDocumentValidation option:

      • aggregate
      • applyOps
      • cloneCollection on the destination collection
      • clone on the destination
      • copydb on the destination
      • findAndModify
      • insert
      • mapReduce
      • update

      However, there are no tests in the commands lib that exercise the logic that enforces the bypassDocumentValidation authz action on the namespace being written to. We should address the coverage gap!

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: