-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Server Serverless 2022-09-05, Server Serverless 2022-09-19, Server Serverless 2022-10-03
Currently the user management commands cannot work with $tenant in multitenancy_test_authzn.js. Commands like createUser et. al. can ONLY be called by highly privileged local users making use of the $tenant field, so passing through to the underlying command only makes sense with a $tenant style request, not with a security token based request.
The root cause is the tenant id of a command request is not thread down through DBDirectClient. In this ticket, DBDirectClient will be changed to fill $tenant field of OpMsg with tenant id for sending to local service entry point. The $tenant can be used here because the DBDirectClient has internal privileges automatically.
- depends on
-
SERVER-69388 Have IDL command constructor to init its database name field with DatabaseName object
- Closed
- is depended on by
-
SERVER-70067 Have DBClientCursor to include tenant information while parsing the returned cursor response in multitenancy environment
- Closed
- is duplicated by
-
SERVER-66166 Change OpMsgRequest::fromDBAndBody to take in DatabaseName
- Closed