User Permissions
On this page
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 | Target | Required Permissions |
---|---|---|
default | source cluster |
|
default | destination cluster |
|
write-blocking or reversing | source cluster |
|
write-blocking or reversing | destination cluster |
|
For details on Atlas roles, see: Atlas User Roles.
To update Atlas user permissions, see: Manage Access to a Project.