summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d')
-rw-r--r--protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json10
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 000000000..4bbcb8157
--- /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" ]
+ }
+ }
+ }
+}