summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorlvoegl <lvoegl@tdt.de>2021-08-31 13:48:31 +0200
committerLukas Voegl <lvoegl@tdt.de>2021-09-17 12:28:36 +0200
commit8950c9f66c5d2e6123aeb5359fc3861d2f09ca72 (patch)
treebb4f90c77acb3033ffe5754bba40387a53b5e403 /applications/luci-app-wireguard/root/usr/share/rpcd/acl.d
parent584301a9022b79482af55cbcf6b9f54136400bf1 (diff)
luci-app-wireguard: replace luci-app-wireguard
Signed-off-by: lvoegl <lvoegl@tdt.de>
Diffstat (limited to 'applications/luci-app-wireguard/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json b/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json
new file mode 100644
index 0000000000..f0938e5b00
--- /dev/null
+++ b/applications/luci-app-wireguard/root/usr/share/rpcd/acl.d/luci-app-wireguard.json
@@ -0,0 +1,12 @@
+{
+ "luci-app-wireguard": {
+ "description": "Grant access to LuCI app wireguard",
+ "read": {
+ "ubus": {
+ "luci.wireguard_status": [
+ "getWgInstances"
+ ]
+ }
+ }
+ }
+}