Test all the document-source aggregation stages have auth checks

XMLWordPrintableJSON

    • Type: Engineering Test
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10, 6.0.25
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.0, v7.0, v6.0, v5.0
    • QO 2024-07-22, QO 2024-08-05, QO 2024-08-19, QO 2024-09-02, QO 2024-09-16, QO 2024-09-30, QO 2024-10-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Document-source aggregation stages are registered with either REGISTER_DOCUMENT_SOURCE or REGISTER_INTERNAL_DOCUMENT_SOURCE. We should assert all these stages have proper auth check tested avoid security vulnerabilities.

      An example of adding an auth check test is SERVER-90116 which added a missing stage in jstests/auth/lib/commands_lib.js .

              Assignee:
              Chi-I Huang
              Reporter:
              Chi-I Huang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: