summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json
blob: 9c0b2d1df533f7ed17c3058b85ddf919fa060872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
	"luci-proto-wireguard": {
		"description": "Grant access to LuCI Wireguard procedures",
		"read": {
			"ubus": {
				"luci.wireguard": [
					"getWgInstances"
				]
			},
			"uci": [ "ddns", "system" ]
		},
		"write": {
			"ubus": {
				"luci.wireguard": [
					"generateKeyPair",
					"getPublicAndPrivateKeyFromPrivate",
					"generatePsk"
				]
			}
		}
	}
}