From f44ba4811de50a1202fa76d07844c3b70e4efb59 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 25 Apr 2020 13:52:15 +0200 Subject: [PATCH] luci-base: make logout link depend on luci-base ACL Fixes: #3966 Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/share/luci/menu.d/luci-base.json | 3 +++ 1 file changed, 3 insertions(+) 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" ] } }, -- 2.25.1