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-nlbwmon/luasrc/controller/nlbw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-nlbwmon/luasrc') diff --git a/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua b/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua index 0d15bea648..2b6490d332 100644 --- a/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua +++ b/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua @@ -4,7 +4,7 @@ module("luci.controller.nlbw", package.seeall) function index() - entry({"admin", "nlbw"}, firstchild(), _("Bandwidth Monitor"), 80) + entry({"admin", "nlbw"}, firstchild(), _("Bandwidth Monitor"), 80).acl_depends = { "luci-app-nlbwmon" } entry({"admin", "nlbw", "display"}, template("nlbw/display"), _("Display"), 1) entry({"admin", "nlbw", "config"}, cbi("nlbw/config"), _("Configuration"), 2) entry({"admin", "nlbw", "backup"}, template("nlbw/backup"), _("Backup"), 3) -- cgit v1.2.3