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-radicale2 | |
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-radicale2')
-rw-r--r-- | applications/luci-app-radicale2/luasrc/controller/radicale2.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-radicale2/luasrc/controller/radicale2.lua b/applications/luci-app-radicale2/luasrc/controller/radicale2.lua index 7b94552ed..f8aa553ec 100644 --- a/applications/luci-app-radicale2/luasrc/controller/radicale2.lua +++ b/applications/luci-app-radicale2/luasrc/controller/radicale2.lua @@ -12,6 +12,7 @@ function index() page = entry({"admin", "services", "radicale2"}, alias("admin", "services", "radicale2", "server"), _("Radicale 2.x")) page.leaf = false + page.acl_depends = { "luci-app-radicale2" } page = entry({"admin", "services", "radicale2", "server"}, cbi("radicale2/server"), _("Server Settings")) page.leaf = true |