This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
The user specified in the ``mongosync `` connection string must have the
2
- required permissions on the source and destination clusters. The
3
- permissions vary depending on your environment and if you want to
4
- modify write-blocking settings or use reverse sync.
2
+ required :ref: ` c2c- permissions-and-roles ` on the source and destination
3
+ clusters. The permissions vary depending on your environment and if you
4
+ want to modify write-blocking settings or use reverse sync.
5
5
Original file line number Diff line number Diff line change @@ -142,10 +142,9 @@ Request Body Parameters
142
142
before ``canWrite`` is ``true``.
143
143
144
144
To reverse sync, the ``enableUserWriteBlocking`` field must be set
145
- to ``"sourceAndDestination"`` and the user must have assigned the
146
- :authrole:`restore` role for both source and destination.
145
+ to ``"sourceAndDestination"``.
147
146
148
- For more information, see :ref:`c2c -permissions-and-roles`.
147
+ .. include:: /includes/fact -permissions-body.rst
149
148
150
149
To allow the source cluster to accept writes again, for example
151
150
after running migration tests, run the following command:
@@ -181,10 +180,9 @@ Request Body Parameters
181
180
reversed.
182
181
183
182
To reverse sync, the ``enableUserWriteBlocking`` field must be set
184
- to ``sourceAndDestination`` and the user must have assigned the
185
- :authrole:`restore` role for both source and destination.
186
-
187
- For more information, see :ref:`c2c-permissions-and-roles`.
183
+ to ``sourceAndDestination``.
184
+
185
+ .. include:: /includes/fact-permissions-body.rst
188
186
189
187
This option is not supported for the following configurations:
190
188
You can’t perform that action at this time.
0 commit comments