@@ -566,7 +566,10 @@ roles() ->
566566 {desc , <<" Can manage Sync Gateway databases and users, "
567567 " and access Sync Gateway's /metrics endpoint. "
568568 " This user cannot read application data." >>}],
569- [{[{collection , ? RBAC_COLLECTION_PARAMS }, sgw ], all }]},
569+ [{[{collection , [any , any , any ]}, sgw , appdata ], none },
570+ {[{collection , [any , any , any ]}, sgw , principal_appdata ], none },
571+ {[{collection , [any , any , any ]}, sgw , replications ], none },
572+ {[{collection , ? RBAC_COLLECTION_PARAMS }, sgw ], all }]},
570573 {sync_gateway_app , ? RBAC_COLLECTION_PARAMS ,
571574 [{name , <<" Sync Gateway Application" >>},
572575 {folder , mobile },
@@ -597,7 +600,7 @@ roles() ->
597600 {desc , <<" Can manage Sync Gateway node-level configuration, "
598601 " and access Sync Gateway's /metrics endpoint "
599602 " for Prometheus integration." >>}],
600- [{[{ collection , [ any , any , any ]}, sgw , dev_ops ], all },
603+ [{[sgw , dev_ops ], all },
601604 {[admin , stats_export ], [read ]}]},
602605 {external_stats_reader , [],
603606 [{name , <<" External Stats Reader" >>},
0 commit comments