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-ahcp/luasrc/controller/ahcp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-ahcp/luasrc/controller/ahcp.lua') diff --git a/applications/luci-app-ahcp/luasrc/controller/ahcp.lua b/applications/luci-app-ahcp/luasrc/controller/ahcp.lua index e97da558b5..afae5971d2 100644 --- a/applications/luci-app-ahcp/luasrc/controller/ahcp.lua +++ b/applications/luci-app-ahcp/luasrc/controller/ahcp.lua @@ -8,7 +8,7 @@ function index() return end - entry({"admin", "network", "ahcpd"}, cbi("ahcp"), _("AHCP Server"), 90) + entry({"admin", "network", "ahcpd"}, cbi("ahcp"), _("AHCP Server"), 90).acl_depends = { "luci-app-ahcp" } entry({"admin", "network", "ahcpd", "status"}, call("ahcp_status")) end -- cgit v1.2.3