@@ -27,36 +27,18 @@ State
2727To use the ``start`` endpoint, ``mongosync`` must be in the ``IDLE``
2828state.
2929
30- User Write Blocking
31- ~~~~~~~~~~~~~~~~~~~
32-
33- .. include:: /includes/fact-write-blocking-requirement.rst
34-
35- To set a custom role for the ``mongosync`` user:
36-
37- #. To create a custom role, use the :dbcommand:`createRole` command:
38-
39- .. code-block:: javascript
40-
41- db.adminCommand( {
42- createRole: "reverseSync",
43- privileges: [ {
44- resource: { db: "", collection: "" },
45- actions: [ "setUserWriteBlockMode", "bypassWriteBlockingMode" ]
46- } ],
47- roles: []
48- } )
49-
50- #. To grant the custom role to the ``mongosync`` user, use the :dbcommand:`grantRolesToUser` command:
30+ Permissions
31+ ~~~~~~~~~~~
5132
52- .. code-block:: javascript
33+ The user specified in the ``mongosync`` connection string must have the
34+ required permissions on the source and destination clusters. Refer to
35+ :ref:`c2c-permissions-and-roles` to ensure that the user has the correct
36+ permissions to start the synchronization.
5337
54- db.adminCommand( {
55- grantRolesToUser: "mongosync-user",
56- roles: [ { role: "reverseSync", db: "admin" } ]
57- } )
38+ Multiple ``mongosync`` Instances
39+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5840
59- Ensure that you use this configured ``mongosync`` user in the connection
41+ Ensure that you use the configured ``mongosync`` user in the connection
6042strings for the :setting:`cluster0` or :setting:`cluster1` settings when
6143you start ``mongosync``.
6244
0 commit comments