luci-base: luci.js: add hasViewPermission() helper
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Apr 2020 20:14:44 +0000 (22:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Apr 2020 11:30:35 +0000 (13:30 +0200)
commitb739fc17eabe9905889017127ac1de8f4e194819
tree1deaf3bd7a193069f9e089f4906b90d5ae24af40
parent94a0c571810da25043ca3599561bd9b369c0c65e
luci-base: luci.js: add hasViewPermission() helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js