mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-13 22:20:59 +00:00
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"luci-app-ruantiblock": {
|
|
"description": "Grant access to ruantiblock procedures",
|
|
"read": {
|
|
"cgi-io": [ "exec" ],
|
|
"file": {
|
|
"/usr/libexec/ruantiblock": [ "list" ],
|
|
"/etc/ruantiblock/fqdn_filter": [ "read" ],
|
|
"/etc/ruantiblock/ip_filter": [ "read" ],
|
|
"/etc/ruantiblock/user_entries": [ "read" ],
|
|
"/etc/ruantiblock/bypass_entries": [ "read" ],
|
|
"/var/run/ruantiblock.token": [ "read" ],
|
|
"/etc/tor/torrc": [ "read" ],
|
|
"/etc/crontabs/root": [ "read" ],
|
|
"/usr/bin/ruantiblock*": [ "exec" ],
|
|
"/sbin/logread -e ruantiblock:": [ "exec" ],
|
|
"/usr/sbin/logread -e ruantiblock:": [ "exec" ]
|
|
},
|
|
"uci": [ "network", "ruantiblock" ],
|
|
"ubus": {
|
|
"luci": [ "getInitList", "setInitAction" ],
|
|
"luci.ruantiblock": [ "getLogSize" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"file": {
|
|
"/etc/ruantiblock/fqdn_filter": [ "write" ],
|
|
"/etc/ruantiblock/ip_filter": [ "write" ],
|
|
"/etc/ruantiblock/user_entries": [ "write" ],
|
|
"/etc/ruantiblock/bypass_entries": [ "write" ],
|
|
"/etc/tor/torrc": [ "write" ],
|
|
"/etc/crontabs/root": [ "write" ]
|
|
},
|
|
"uci": [ "ruantiblock" ]
|
|
}
|
|
}
|
|
}
|