summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
blob: 61b6f3b57d6909fe3fe3ce08586946c68874bc60 (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]* [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*]* [0-6,-*]*" : [ "exec" ],
				"/etc/init.d/adblock query *" : [ "exec" ]
			},
			"uci": ["adblock"]
		}
	}
}