From 74da73b012a7ac271d683f11d98de170215ae661 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 19 Apr 2020 17:14:58 +0200 Subject: applications: add ACL dependency annotations to legacy controllers Signed-off-by: Jo-Philipp Wich --- applications/luci-app-mwan3/luasrc/controller/mwan3.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-mwan3') diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 35385912c..1fb9083a5 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -16,7 +16,7 @@ function index() entry({"admin", "status", "mwan"}, alias("admin", "status", "mwan", "overview"), - _("Load Balancing"), 600) + _("Load Balancing"), 600).acl_depends = { "luci-app-mwan3" } entry({"admin", "status", "mwan", "overview"}, template("mwan/status_interface")) @@ -38,7 +38,7 @@ function index() entry({"admin", "network", "mwan"}, alias("admin", "network", "mwan", "interface"), - _("Load Balancing"), 600) + _("Load Balancing"), 600).acl_depends = { "luci-app-mwan3" } entry({"admin", "network", "mwan", "globals"}, cbi("mwan/globalsconfig"), -- cgit v1.2.3