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

roleThe configured user role the depth applies to.yes
depthThe replication depth value. Must be a positive integer or 0.yes
report_depthAs of 3.10. Replication depth applied to reports submitted by other usersno
Code sample:
  "replication_depth": [
    { "role": "district_manager", "depth": 1, "report_depth": 1 },
    { "role": "national_manager", "depth": 2 }