Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69369

Ensure collMod command works in multitenant environment

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-10-17

    Description

      Ensure the collMod command can be run with a security token and with $tenant. The command itself should already thread the tenantId through the execution path, but we may need to thread it through the auth system for the command, i.e. we'll need to construct the NamespaceString for the view using the DatabaseName object when checking whether the user is authorized to modify the view. Add a test to both of native_tenant_data_isolation_basic js tests.

      Attachments

        Activity

          People

            didier.nadeau@mongodb.com Didier Nadeau
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: