summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json
blob: 674deb6c7de083dcf66bb832d9036fdb361eaa1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
	"luci-proto-wireguard": {
		"description": "Grant access to LuCI Wireguard procedures",
		"read": {
			"file": {
				"/usr/bin/qrencode --inline --8bit --type=SVG --output=- -- *": [ "exec" ]
			},
			"uci": [ "ddns", "system" ]
		},
		"write": {
			"ubus": {
				"luci.wireguard": [
					"generateKeyPair",
					"getPublicAndPrivateKeyFromPrivate",
					"generatePsk"
				]
			}
		}
	}
}