diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-19 17:14:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-19 17:17:26 +0200 |
commit | 74da73b012a7ac271d683f11d98de170215ae661 (patch) | |
tree | eb0f31ad31b09b33b8166fdcaec9c57b86f01a47 /applications/luci-app-ahcp | |
parent | 760763a7b5da42860c6c2d63478859bb02fa9104 (diff) |
applications: add ACL dependency annotations to legacy controllers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-ahcp')
-rw-r--r-- | applications/luci-app-ahcp/luasrc/controller/ahcp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ahcp/luasrc/controller/ahcp.lua b/applications/luci-app-ahcp/luasrc/controller/ahcp.lua index e97da558b..afae5971d 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 |