summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
blob: b7e7dd5a8c1f88acc4bcd1882e11090311db4470 (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
32
33
34
{
	"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 restart" : [ "exec" ],
				"/etc/init.d/adblock suspend" : [ "exec" ],
				"/etc/init.d/adblock resume" : [ "exec" ],
				"/etc/init.d/adblock report [a-z]* [0-9]* *" : [ "exec" ],
				"/etc/init.d/adblock timer list" : [ "exec" ],
				"/etc/init.d/adblock timer remove [0-9]*" : [ "exec" ],
				"/etc/init.d/adblock timer add * [0-9]* [0-9*]* [1-7,-*]*" : [ "exec" ],
				"/etc/init.d/adblock query *" : [ "exec" ]
			},
			"uci": ["adblock"]
		}
	}
}