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

Write a test for new local auth bypass behaviour for catalog shard

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-04-03

    Description

      There are existing tests that do this:

      • Create a user on the config server (this creates a cluster-wide user)
      • Create a user on the shard server (this creates a shard-specific user)
        the localhost exception is valid for both per cluster and per shard.

      if I combine these two roles in a catalog shard, then a user that is created is by default a cluster wide user, so the test should just make sure that we are explicitly testing for this behaviour i,e we cannot create two users on the catalog shard. Because after creating the first user, localhost exception is no longer valid.

      Attachments

        Activity

          People

            wenqin.ye@mongodb.com Wenqin Ye
            kshitij.gupta@mongodb.com Kshitij Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: