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

Use explicit tenantIds in change_stream_change_collection_role_auth.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-05-15, QE 2023-05-29, QE 2023-06-12, QE 2023-06-26, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18

      The test change_stream_change_collection_role_auth.js enables the multitenancySupport server parameter, but it also uses the `internalChangeStreamUseTenantIdForTesting` flag to avoid needing to send tenantIds in the requests directly. PM-2346 is making it such that requests are required to contain a tenantId when running with multitenancySupport enabled. This test should send tenantIds in the requests (using either $tenant or a security token) rather than relying on `internalChangeStreamUseTenantIdForTesting` to inject tenantIds at lower layers in the server.

            Assignee:
            sebastien.mendez@mongodb.com Sebastien Mendez
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: