luci/applications/luci-app-openvpn/luasrc
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
..
controller luci-app-openvpn: create base directory if not available 2021-07-02 20:14:10 +02:00
model/cbi luci-app-openvpn: fix stray uci permission warning 2022-01-25 22:43:17 +01:00
view/openvpn luci-app-opvnepn: fix btn class 2020-09-03 14:33:40 +02:00