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

Write auth tests exercising bypassDocumentValidation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • Query Optimization

      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!

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: