summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-19 17:14:58 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-19 17:17:26 +0200
commit74da73b012a7ac271d683f11d98de170215ae661 (patch)
treeeb0f31ad31b09b33b8166fdcaec9c57b86f01a47 /applications/luci-app-mwan3/luasrc
parent760763a7b5da42860c6c2d63478859bb02fa9104 (diff)
applications: add ACL dependency annotations to legacy controllers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc')
-rw-r--r--applications/luci-app-mwan3/luasrc/controller/mwan3.lua4
1 files changed, 2 insertions, 2 deletions
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"),