From 60ce87a19790e1461da5cf14fcbc24d4c8caf30f Mon Sep 17 00:00:00 2001 From: Wojciech Jowsa Date: Tue, 18 Aug 2020 22:51:07 +0200 Subject: luci-proto-wireguard: Add generate key button Signed-off-by: Wojciech Jowsa [minor indentation fix, use bound section_id value, remove empty translation] Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-wireguard.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json (limited to 'protocols/luci-proto-wireguard/root/usr/share') 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" ] + } + } + } +} -- cgit v1.2.3