[SERVER-81540] Create agg request using tenantId in auth session test Created: 28/Sep/23  Updated: 29/Oct/23  Resolved: 11/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-73113 Allow only specific global dbs to be ... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-10-16
Participants:

 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.



 Comments   
Comment by Githook User [ 11/Oct/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-81540 Create agg request using tenantId in auth session test
Branch: master
https://github.com/mongodb/mongo/commit/add6b255493a92dac68a5c7616403af027080722

Generated at Thu Feb 08 06:46:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.