[SERVER-82339] DBClientBase::_upconvertRequest attaches an unsigned security token if tenantId is present Created: 19/Oct/23  Updated: 29/Jan/24  Resolved: 29/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Joseph Prince
Resolution: Fixed Votes: 0
Labels: ntdi_code_quality
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2024-02-05
Participants:
Story Points: 2

 Description   

DBClientBase::_upconvertRequest currently attaches $tenant to outgoing requests if a tenantId exists and isAlwaysAppendDollarTenant_forTest is set. This ticket covers removing isAlwaysAppendDollarTenant_forTest, and changing this code to attach an unsigned security token to the request instead of appending $tenant



 Comments   
Comment by Githook User [ 29/Jan/24 ]

Author:

{'name': 'Joseph Prince', 'email': '57415450+josephdprince@users.noreply.github.com', 'username': 'josephdprince'}

Message: SERVER-82339 Convert _alwaysAppendDollarTenant to _alwaysAttachSecurityToken (#18312)

GitOrigin-RevId: 143c4f4b62487366ece19e9931f22e16ccf3835b
Branch: master
https://github.com/mongodb/mongo/commit/400c0350b573558435d59af58c3bbc48145a3c4b

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