Files
ruantiblock_openwrt/luci-app-ruantiblock/root/usr/share/rpcd/acl.d/luci-app-ruantiblock.json
T

35 lines
970 B
JSON
Raw Normal View History

2020-06-19 20:43:08 +03:00
{
2021-11-04 18:57:08 +03:00
"luci-app-ruantiblock": {
"description": "Grant access to ruantiblock procedures",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/usr/bin": [ "list" ],
"/etc/ruantiblock/fqdn_filter": [ "read" ],
"/etc/ruantiblock/ip_filter": [ "read" ],
"/etc/ruantiblock/user_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" ]
}
},
"write": {
"file": {
"/etc/ruantiblock/fqdn_filter": [ "write" ],
"/etc/ruantiblock/ip_filter": [ "write" ],
"/etc/ruantiblock/user_entries": [ "write" ],
"/etc/tor/torrc": [ "write" ],
"/etc/crontabs/root": [ "write" ]
},
"uci": [ "ruantiblock" ]
}
}
2020-06-19 20:43:08 +03:00
}