luci/applications/luci-app-adblock-fast/root/usr/share/rpcd/acl.d/luci-app-adblock-fast.json
Stan Grishin 8d8ca1c6aa luci-app-adblock-fast: update to 1.1.1-1
* Final (hopefully) attempt to avoid errors if dhcp/smartdns configs are
  missing
* New user experience for picking dnsmasq/smartdns instances to enable the
  adblocking on
* use function from init script to set up output paths
* update paths to run-time files in ACL

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-12-15 02:49:08 +00:00

35 lines
647 B
JSON

{
"luci-app-adblock-fast": {
"description": "Grant UCI and file access for luci-app-adblock-fast",
"read": {
"file": {
"/dev/shm/adblock-fast.config": [ "list", "read" ],
"/dev/shm/adblock-fast.error": [ "list", "read" ],
"/dev/shm/adblock-fast.status": [ "list", "read" ]
},
"ubus": {
"luci.adblock-fast": [
"getFileUrlFilesizes",
"getInitList",
"getInitStatus",
"getPlatformSupport"
]
},
"uci": [
"adblock-fast",
"dhcp",
"smartdns"
]
},
"write": {
"uci": [
"adblock-fast"
],
"ubus": {
"luci.adblock-fast": [
"setInitAction"
]
}
}
}
}