diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-01-25 22:39:48 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-01-25 22:43:17 +0100 |
commit | 18b1130711b6ff7aacba98034e2bd7f4893b33df (patch) | |
tree | 8190511b8d1cbd6f0c2802229a71549f33040d42 /modules/luci-base/root | |
parent | e3846833a508e6d7e144ffa24953464f6e9bb6ff (diff) |
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>
Diffstat (limited to 'modules/luci-base/root')
0 files changed, 0 insertions, 0 deletions