summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json
blob: 307ec28b63aca4bf5796b2156ad685eeae5519ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
	"luci-app-fwknopd": {
		"description": "Grant UCI access for luci-app-fwknopd",
		"read": {
			"uci": [ "fwknopd" ],
			"file": {
				"/etc/fwknop/*": [ "read" ],
				"/usr/bin/qrencode": [ "exec" ],
				"/usr/sbin/fwknopd --key-gen": [ "exec" ]
			}
		},
		"write": {
			"uci": [ "fwknopd" ]
		}
	}
}