diff options
author | Wojciech Jowsa <wojciech.jowsa@gmail.com> | 2020-08-18 22:51:07 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-21 11:03:53 +0200 |
commit | 60ce87a19790e1461da5cf14fcbc24d4c8caf30f (patch) | |
tree | 257db8ab68b7869c8300669a7f178cf53c0acc68 /protocols/luci-proto-wireguard/root/usr/share | |
parent | c4a4e43e2e97065dcda53c9ac7ee49c05171dbd8 (diff) |
luci-proto-wireguard: Add generate key button
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
[minor indentation fix, use bound section_id value, remove empty translation]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-wireguard/root/usr/share')
-rw-r--r-- | protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json b/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json new file mode 100644 index 0000000000..4bbcb81578 --- /dev/null +++ b/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json @@ -0,0 +1,10 @@ +{ + "luci-proto-wireguard": { + "description": "Grant access to LuCI Wireguard procedures", + "write": { + "ubus": { + "luci.wireguard": [ "generateKeyPair" ] + } + } + } +} |