luci-app-openvpn: fix recipe selection

* add read acl for 'openvpn_recipes', fixed #4112

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2020-05-29 19:09:49 +02:00
parent 6be8f8dbae
commit b646576696
No known key found for this signature in database
GPG key ID: 9D71CD547BFAE684

View 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" ],