small-packages/homeproxy/root/usr/share/rpcd/acl.d/luci-app-homeproxy.json
2026-07-12 00:50:47 +08:00

34 lines
845 B
JSON

{
"luci-app-homeproxy": {
"description": "Grant access to homeproxy configuration",
"read": {
"file": {
"/var/run/homeproxy/homeproxy.log": [ "read" ],
"/var/run/homeproxy/sing-box-c.log": [ "read" ],
"/var/run/homeproxy/sing-box-s.log": [ "read" ]
},
"ubus": {
"service": [ "list" ],
"luci.homeproxy": [
"acllist_read", "connection_check", "current_node_get",
"node_latency_test", "resources_get",
"singbox_generator", "singbox_get_features"
]
},
"uci": [ "homeproxy" ]
},
"write": {
"file": {
"/etc/homeproxy/scripts/update_subscriptions.uc": [ "exec" ],
"/tmp/homeproxy_certificate.tmp": [ "write" ]
},
"ubus": {
"luci.homeproxy": [
"acllist_write", "certificate_write", "log_clean", "resources_update"
]
},
"uci": [ "homeproxy" ]
}
}
}