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

Create agg request using tenantId in auth session test

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Serverless
    • Fully Compatible
    • Service Arch 2023-10-16

    Description

      Authorization session test contains both NamespaceString and DatabaseName objects without tenantIds, which will fail when we assert that tenantIds are provided in all commands.  Many of these tests call aggregation_request_helper::parseFromBSONForTest (which calls aggregation_request_helper::parseFromBSON) which will attempt to build an AggregateCommandRequest object that calls the deserializer.

      None of these tests are gated by the multitenancy flag; they should either pass in tenantIds or be bypassed in multitenancy mode.  This may require a discussion with the Security team.

      Attachments

        Activity

          People

            hugh.tong@mongodb.com Hugh Tong (Inactive)
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: