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, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit37d07f52bdb5484d895f66c293ce6c850939c18f
tree9f854773bfa542817192fa9aa416a69107c2ed26
parent93f9784a0488d024b9d17347351af21a5e1403ca
luci-base: luci.js: add hasViewPermission() helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b739fc17eabe9905889017127ac1de8f4e194819)
modules/luci-base/htdocs/luci-static/resources/luci.js