.replication_depth
Replications: Instructions for replication depth
Replication depth is defined under replication_depth
as an array of objects. It grants the ability to limit document replication depending on user roles.
app_settings.json .replication_depth
property | description | required |
---|---|---|
role | The configured user role the depth applies to. | yes |
depth | The replication depth value. Must be a positive integer or 0. | yes |
report_depth | As of 3.10. Replication depth applied to reports submitted by other users | no |
Code sample:
{
"replication_depth": [
{ "role": "district_manager", "depth": 1, "report_depth": 1 },
{ "role": "national_manager", "depth": 2 }
]
}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified 12.09.2024: Remove extra alias bullet (#1541) (84007b2b)