luci/applications/luci-app-openvpn/luasrc/model/cbi
Jo-Philipp Wich 18b1130711 luci-app-openvpn: fix stray uci permission warning
The OpenVPN file view uses a dummy Map() instance to render the breadcrumb
template which triggers a uci permission error since the view is being
rendered by a form() action which does not set up the expected permission
flags. CBI Map() instances should only be used for cbi() dispatch targets.

Solve the issue by appending the breadcrumb template directly to the
SimpleForm() instance and by removing the redundant dummy Map() instance.

Fixes: #4370
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-01-25 22:43:17 +01:00
..
openvpn-advanced.lua luci-app-openvpn: add security hint for compress 2021-03-03 10:13:56 +01:00
openvpn-basic.lua luci-app-openvpn: add security hint for comp-lzo 2021-03-03 10:13:56 +01:00
openvpn-file.lua luci-app-openvpn: fix stray uci permission warning 2022-01-25 22:43:17 +01:00
openvpn.lua luci-app-openvpn: parse extended 'remote' syntax as well 2020-04-18 09:31:39 +02:00