luci/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
Dirk Brenken 0f18b873d8
luci-app-adblock: release 4.0.0
* complete rewrite, migrated to client side JS
* tested with mainline 19.07 and current master
* tested with latest Firefox & Chrome and all
  standard themes (not OpenWrt2020!)
  Pre-tested by many forum users, see here:
  https://forum.openwrt.org/t/adblock-4-pre-releases/57101
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-03-28 14:35:10 +01:00

30 lines
911 B
JSON

{
"luci-app-adblock": {
"description": "Grant access to LuCI app adblock",
"write": {
"uci": ["adblock"],
"file": {
"/etc/adblock/*": ["read"],
"/etc/adblock/adblock.blacklist": ["write"],
"/etc/adblock/adblock.whitelist": ["write"]
}
},
"read": {
"cgi-io": [ "exec" ],
"file": {
"/var/run/adblock.pid": ["read"],
"/tmp/adb_runtime.json": ["read"],
"/etc/crontabs/root": ["read"],
"/sbin/logread -e adblock-": [ "exec" ],
"/usr/sbin/logread -e adblock-": [ "exec" ],
"/etc/init.d/adblock list" : [ "exec" ],
"/etc/init.d/adblock start" : [ "exec" ],
"/etc/init.d/adblock suspend" : [ "exec" ],
"/etc/init.d/adblock resume" : [ "exec" ],
"/etc/init.d/adblock report * [0-9]* [a-z]* json" : [ "exec" ],
"/etc/init.d/adblock timer * [0-9]* [0-9*]* [1-7,-*]*" : [ "exec" ],
"/etc/init.d/adblock query *" : [ "exec" ]
}
}
}
}