@@ -35,6 +35,10 @@ The Atlas permissions are:
3535Minimum Privileges
3636------------------
3737
38+ .. note::
39+
40+ Minimum privileges may change across mongosync versions.
41+
3842The minimum source privileges are:
3943
4044.. include:: /includes/minimum-source-privileges.rst
@@ -43,13 +47,81 @@ The minimum destination privileges are:
4347
4448.. include:: /includes/minimum-destination-privileges.rst
4549
46-
4750.. _c2c-older-version-permissions:
4851
4952Pre-6.0 Migrations
5053------------------
5154
52- - When migrating from a 4.4 source cluster, you must have
53- :authrole:`clusterManager` permissions on the source cluster.
55+ - When migrating from a 4.4 source cluster, the source cluster
56+ should either have :authrole:`clusterManager` or the minimum
57+ permissions listed for v4.4.
58+
59+ The minimum source permissions for v4.4 are:
60+
61+ .. list-table::
62+ :header-rows: 1
63+ :stub-columns: 1
64+ :widths: 10 30
65+
66+ * - Sync Type
67+ - Minimum Source Privileges
68+
69+ * - V4.4 Migration
70+ - .. code-block:: javascript
71+
72+ [
73+ {
74+ "resource": { "cluster": true },
75+ "actions": [
76+ "addShard",
77+ "appendOplogNote",
78+ "flushRouterConfig",
79+ "getDefaultRWConcern",
80+ "getShardMap",
81+ "hostInfo",
82+ "listDatabases",
83+ "listShards",
84+ "replSetGetConfig",
85+ "replSetGetStatus",
86+ "serverStatus"
87+ ]
88+ },
89+ {
90+ "resource": { "db": "", "collection": "" },
91+ "actions": [
92+ "changeStream",
93+ "collStats",
94+ "find",
95+ "indexStats",
96+ "listCollections",
97+ "listIndexes"
98+ ]
99+ },
100+ {
101+ "resource": { "db": "admin", "collection": "system.version" },
102+ "actions": [ "find" ]
103+ },
104+ {
105+ "resource": { "db": "", "collection": "system.js" },
106+ "actions": [ "listCollections", "listIndexes" ]
107+ },
108+ {
109+ "resource": { "db": "config", "collection": "shards" },
110+ "actions": [ "find" ]
111+ },
112+ {
113+ "resource": { "db": "config", "collection": "collections" },
114+ "actions": [ "find" ]
115+ },
116+ {
117+ "resource": { "db": "config", "collection": "version" },
118+ "actions": [ "find" ]
119+ },
120+ {
121+ "resource": { "db": "config", "collection": "settings" },
122+ "actions": [ "find" ]
123+ }
124+ ]
54125
55126- Dual write-blocking and reverse sync are not supported.
127+
0 commit comments