Include tenantId in requests sent with DBDirectClient to have user management cmds work

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

       

              Assignee:
              Sophia Tan (Inactive)
              Reporter:
              Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: