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>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit20ddfdeb4f5aca474a6566a33befafc56d480d62
treebd5f1d1fb947bd0ed6b43c6c6084255a0d9eab1a
parentd122f1278b440c3c09f222d318333f773e97faa3
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>
(cherry picked from commit c48a8d58132b4f175ec0a4b4ec4e15eb199edeb8)
modules/luci-base/luasrc/dispatcher.lua