Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13220

Investigate changes in SERVER-44320: Allow zoned sharding commands to be authorized via actiontypes

      Description

      Downstream Change Summary

      Docs: Permissions for the addShardToZone, removeShardFromZone, and updateZoneKeyRange commands continue to permitted for use if the client possesses rights to alter the relevant system collections directly. This change allows, as an alternative, performing these actions with just the "enableSharding" action type only.

      Cloud: This was an ask from Atlas.

      Description of Linked Ticket

      The following zoned sharding commands are currently authorized by validating whether the authenticated client is authorized to manipulate internal sharding catalog collections:

      addShardToZone
      updateZoneKeyRange
      removeShardFromZone
      

      They would be much more convenient to use if they were able to be used with specific actiontypes, like how shardCollection works.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 18 weeks, 2 days ago