From c099344013ad72d01a93b99184c72c5eeb792174 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 9 Apr 2020 22:52:37 +0200 Subject: treewide: reorganize base ACLs Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-app-openvpn.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-openvpn/root/usr/share/rpcd/acl.d/luci-app-openvpn.json (limited to 'applications/luci-app-openvpn/root') diff --git a/applications/luci-app-openvpn/root/usr/share/rpcd/acl.d/luci-app-openvpn.json b/applications/luci-app-openvpn/root/usr/share/rpcd/acl.d/luci-app-openvpn.json new file mode 100644 index 000000000..bc9d8e184 --- /dev/null +++ b/applications/luci-app-openvpn/root/usr/share/rpcd/acl.d/luci-app-openvpn.json @@ -0,0 +1,11 @@ +{ + "luci-app-openvpn": { + "description": "Grant file upload access to /etc/openvpn", + "write": { + "cgi-io": [ "upload" ], + "file": { + "/etc/openvpn/*": [ "write" ] + } + } + } +} -- cgit v1.2.3