luci-base: dispatcher.lua: pass permission state to legacy CBI templates
authorJo-Philipp Wich <jo@mein.io>
Mon, 20 Apr 2020 07:33:30 +0000 (09:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 20 Apr 2020 07:44:14 +0000 (09:44 +0200)
commitc48a8d58132b4f175ec0a4b4ec4e15eb199edeb8
tree29f66ec2b7adac9dcf49f4780dc7e45462f1c6a4
parentacae1378a80ca0f87ec3f29de585a6b6328a2c64
luci-base: dispatcher.lua: pass permission state to legacy CBI templates

Ref: https://github.com/openwrt/luci/issues/3937
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/dispatcher.lua