summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-ocserv/root/usr/share/rpcd/acl.d/luci-app-ocserv.json
blob: d0d16cb183add7d55aa8c834042f85baec38b5c0 (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-ocserv": {
		"description": "Grant UCI access for luci-app-ocserv",
		"read": {
			"file": {
				"/etc/ocserv/*": [ "read" ],
				"/proc/net/ipv6_route": [ "read" ],
				"/proc/*/net/ipv6_route": [ "read" ],
				"/usr/bin/certtool --hash sha256 --key-id --infile /etc/ocserv/server-cert.pem": ["exec"],
				"/usr/bin/occtl show users": ["exec"],
				"/usr/bin/occtl --json show users": ["exec"],
				"/usr/bin/occtl reload": ["exec"],
				"/usr/bin/occtl disconnect id *": ["exec"]
			},
			"ubus": {
				"file": [ "exec" ],
				"rc": [ "init" ]
			},
			"uci": [ "ocserv" ]
		},
		"write": {
			"file": {
				"/etc/ocserv/ocserv.conf.template": [ "write" ]
			},
			"ubus": {
				"file": [ "exec" ],
				"rc": [ "init" ]
			},
			"uci": [ "ocserv" ]
		}
	}
}