diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-25 13:52:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-25 13:52:15 +0200 |
commit | f44ba4811de50a1202fa76d07844c3b70e4efb59 (patch) | |
tree | 17b9cb95b8888724a786b493612dcf530fd5dafd | |
parent | 8f67311c26d24efe893a7d908967dd806cb711c9 (diff) |
luci-base: make logout link depend on luci-base ACL
Fixes: #3966
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-base/root/usr/share/luci/menu.d/luci-base.json | 3 |
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 daad2f633..9b32048be 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" ] } }, |