summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/root/usr/share/rpcd/acl.d/luci-app-mwan3.json
blob: 91dd225358a37ac67ecf237778e44feb0c6a22c6 (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
{
	"luci-app-mwan3": {
		"description": "Grant UCI access for luci-app-mwan3",
		"read": {
			"file": {
				"/etc/mwan3.user": [ "read" ],
				"/usr/bin/httping": [ "list" ],
				"/usr/bin/nping": [ "list" ],
				"/usr/bin/arping": [ "list" ],
				"/usr/sbin/mwan3 status": [ "exec" ],
				"/usr/sbin/mwan3 ifup *": [ "exec" ],
				"/usr/sbin/mwan3 ifdown *": [ "exec" ],
				"/usr/sbin/mwan3 internal ipv4": [ "exec" ],
				"/usr/sbin/mwan3 internal ipv6": [ "exec" ],
				"/usr/libexec/luci-mwan3 diag * *": [ "exec" ],
				"/usr/libexec/luci-mwan3 ipset *": [ "exec" ]
			},
			"ubus": {
				"mwan3": [ "status" ]
			},
			"uci": [ "mwan3", "network" ]
		},
		"write": {
			"file": {
				"/etc/mwan3.user": ["write"],
				"/usr/sbin/mwan3 ifup *": [ "exec" ],
				"/usr/sbin/mwan3 ifdown *": [ "exec" ]
			},
			"uci": [ "mwan3" ]
		}
	}
}