summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-25 13:52:15 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-25 13:52:15 +0200
commitf44ba4811de50a1202fa76d07844c3b70e4efb59 (patch)
tree17b9cb95b8888724a786b493612dcf530fd5dafd /modules/luci-base/root/usr
parent8f67311c26d24efe893a7d908967dd806cb711c9 (diff)
luci-base: make logout link depend on luci-base ACL
Fixes: #3966 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr')
-rw-r--r--modules/luci-base/root/usr/share/luci/menu.d/luci-base.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json b/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
index daad2f633a..9b32048be6 100644
--- a/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/luci/menu.d/luci-base.json
@@ -84,6 +84,9 @@
"type": "call",
"module": "luci.controller.admin.index",
"function": "action_logout"
+ },
+ "depends": {
+ "acl": [ "luci-base" ]
}
},