summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-10 23:21:35 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-10 23:21:35 +0200
commit43e872871a85dce70509c3c97c10e9c61788c378 (patch)
treef773e0ebd4207d5bf511d8eb6ef61c1cf2a69f21 /applications/luci-app-openvpn/root
parentd9084c5fb6ad574396a8f103073cab0480f2ddd1 (diff)
treewide: stage ACL rules for legacy applications
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-openvpn/root')
-rw-r--r--applications/luci-app-openvpn/root/usr/share/rpcd/acl.d/luci-app-openvpn.json8
1 files changed, 6 insertions, 2 deletions
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
index bc9d8e184d..41f62ad294 100644
--- 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
@@ -1,11 +1,15 @@
{
"luci-app-openvpn": {
- "description": "Grant file upload access to /etc/openvpn",
+ "description": "Grant access to OpenVPN configuration",
+ "read": {
+ "uci": [ "openvpn" ]
+ },
"write": {
"cgi-io": [ "upload" ],
"file": {
"/etc/openvpn/*": [ "write" ]
- }
+ },
+ "uci": [ "openvpn" ]
}
}
}