[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: |
|
||||||||
| 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: |