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

Asserts that all the aggregation stages have auth tests

    • Type: Icon: Engineering Test Engineering Test
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • v8.0, v7.0, v6.0, v5.0
    • 200

      Similar to SERVER-88594, write an assertion functions to ensure all the aggregation stages, external and internal, have auth testing.

      • The list of aggregation stages can be achieved either with serverStatus() orĀ SERVER-95901.
      • The assertion can be made in commands_lib and checks the coverage from the start.
      • Throws a clear message to reminds developers to add auth tests for new agg stages.

            Assignee:
            chii.huang@mongodb.com Chi-I Huang
            Reporter:
            chii.huang@mongodb.com Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: