summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json
blob: 20f05eef03a69208602fe159e89cefd893abb541 (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
{
	"luci-app-nlbwmon": {
		"description": "Grant UCI access for luci-app-nlbwmon",
		"read": {
			"cgi-io": [ "exec" ],
			"file": {
				"/proc/sys/kernel/hostname": [ "read" ],
				"/usr/libexec/nlbwmon-action backup": [ "exec" ],
				"/usr/libexec/nlbwmon-action download *": [ "exec" ],
				"/usr/libexec/nlbwmon-action periods": [ "exec" ],
				"/usr/share/nlbwmon/protocols": [ "read" ]
			},
			"ubus": {
				"file": [ "read" ],
				"luci-rpc": [ "getHostHints" ],
				"network.rrdns": [ "lookup" ]
			},
			"uci": [ "nlbwmon" ]
		},
		"write": {
			"file": {
				"/tmp/nlbw-restore.tar.gz": [ "write" ],
				"/usr/libexec/nlbwmon-action commit": [ "exec" ],
				"/usr/libexec/nlbwmon-action restore": [ "exec" ],
				"/usr/share/nlbwmon/protocols": [ "write" ]
			},
			"ubus": {
				"file": [ "write" ]
			},
			"uci": [ "nlbwmon" ]
		}
	}
}