From: Jo-Philipp Wich Date: Sat, 25 Apr 2020 11:52:15 +0000 (+0200) Subject: luci-base: make logout link depend on luci-base ACL X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f44ba4811de50a1202fa76d07844c3b70e4efb59;p=oweals%2Fluci.git luci-base: make logout link depend on luci-base ACL Fixes: #3966 Signed-off-by: Jo-Philipp Wich --- 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" ] } },