User Permissions
On this page
This version of the documentation is archived and no longer supported. View
the current documentation
to learn how to upgrade your version of
mongosync
.The user specified in the mongosync
connection string must have the
required permissions on the source and destination clusters. The
permissions vary depending on your environment and if you want to run a
write-blocking or reverse sync.
Self-Managed Clusters
The self-managed permissions are:
Sync Type | Required Source Permissions | Required Destination Permissions |
---|---|---|
Default | ||
Write-blocking | ||
Reversing |
For details on server roles, see: Role-Based Access Control in Self-Managed Deployments.
To update user permissions, see: grantRolesToUser
.
Atlas Clusters
The Atlas permissions are:
Sync Type | Required Source Permissions | Required Destination Permissions |
---|---|---|
Default |
|
|
Write-blocking or reversing |
|
|
For details on Atlas roles, see: Built-In Roles and Privileges.
To update Atlas user permissions, see: Manage Access to a Project.