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-ltqtapi/luasrc/controller/ltqtapi.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-app-ltqtapi/luasrc/controller') diff --git a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua index 46c7684015..f8518c4d7e 100644 --- a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua +++ b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua @@ -12,6 +12,7 @@ function index() page.target = firstchild() page.title = _("VoIP") page.order = 90 + page.acl_depends = { "luci-app-ltqtapi" } entry({"admin", "telephony", "account"}, cbi("luci_ltqtapi/account") , _("Account"), 10) entry({"admin", "telephony", "contact"}, cbi("luci_ltqtapi/contact") , _("Contacts"), 20) -- cgit v1.2.3