Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1824

Investigate missing permissions for convertShardKeyToHashed() in Atlas 5.0+ M10

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Atlas, Shell API
    • None
    • Developer Tools

      Recently (June 14th), our Atlas connectivity tests started failing because convertShardKeyToHashed() could not run successfully on Atlas after the cluster was upgraded to 5.0. This turned out to be a permissions issue – our test user had dbAdminAnyDatabase@admin and readWriteAnyDatabase@admin access, which was insufficient for querying the admin.system.version collection. For now, the user has the atlasAdmin role, which circumvents this issue.

      (Clusters > 6.0 should not be affected because those support native $documents)

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: