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 --- .../root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applications/luci-app-shadowsocks-libev/root/usr/share') diff --git a/applications/luci-app-shadowsocks-libev/root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json b/applications/luci-app-shadowsocks-libev/root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json index afa8f44e3c..aa29113fe0 100644 --- a/applications/luci-app-shadowsocks-libev/root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json +++ b/applications/luci-app-shadowsocks-libev/root/usr/share/luci/menu.d/luci-app-shadowsocks-libev.json @@ -4,6 +4,9 @@ "order": 59, "action": { "type": "firstchild" + }, + "depends": { + "acl": [ "luci-app-shadowsocks-libev" ] } }, -- cgit v1.2.3