luci-app-openvpn: fix recipe selection
authorDirk Brenken <dev@brenken.org>
Fri, 29 May 2020 17:09:49 +0000 (19:09 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 29 May 2020 17:17:38 +0000 (19:17 +0200)
* add read acl for 'openvpn_recipes', fixed #4112

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit b6465766966c9e1d06778eb6d3d0a4be3920606d)

applications/luci-app-firewall/root/usr/share/rpcd/acl.d/luci-app-openvpn.json

index 41f62ad2948c8dcefd57b0ef1acd4dd57e5a1d36..76c26f28c03aeb5c77fefbb87517b0e82ce82985 100644 (file)
@@ -2,7 +2,7 @@
        "luci-app-openvpn": {
                "description": "Grant access to OpenVPN configuration",
                "read": {
-                       "uci": [ "openvpn" ]
+                       "uci": [ "openvpn", "openvpn_recipes" ]
                },
                "write": {
                        "cgi-io": [ "upload" ],