summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
blob: 58140badac1caf668969896ff850b3331ee8ac78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
	"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 reload" : [ "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" ]
			},
			"uci": ["adblock"]
		}
	}
}