From f44ba4811de50a1202fa76d07844c3b70e4efb59 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 25 Apr 2020 13:52:15 +0200 Subject: 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(+) (limited to 'modules/luci-base/root/usr') 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" ] } }, -- cgit v1.2.3