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-ocserv/luasrc/controller/ocserv.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-app-ocserv/luasrc/controller') diff --git a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua index f41b481038..3127f73c62 100644 --- a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua +++ b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua @@ -13,6 +13,7 @@ function index() page = entry({"admin", "vpn", "ocserv"}, alias("admin", "vpn", "ocserv", "main"), _("OpenConnect VPN")) page.dependent = true + page.acl_depends = { "luci-app-ocserv" } page = entry({"admin", "vpn", "ocserv", "main"}, cbi("ocserv/main"), -- cgit v1.2.3