From 8f34e105c059575a9c75e43468345e3651210b81 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 17 Apr 2020 12:14:50 +0200 Subject: treewide: add ACL annotations to menu entries Signed-off-by: Jo-Philipp Wich --- .../luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applications/luci-app-squid/root/usr/share') diff --git a/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json b/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json index b71648b69..15a0d3c4d 100644 --- a/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json +++ b/applications/luci-app-squid/root/usr/share/luci/menu.d/luci-app-squid.json @@ -5,6 +5,9 @@ "type": "cbi", "path": "squid", "post": { "cbi.submit": true } + }, + "depends": { + "acl": [ "luci-app-squid" ] } } } -- cgit v1.2.3