diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-04-23 15:36:49 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2020-06-10 08:44:58 +0200 |
commit | 5f776df12b1eaa242248c43486084b19e5d5730a (patch) | |
tree | 30388605e1402445751f3031b566b063c4896a4e /applications/luci-app-dockerman/luasrc | |
parent | f3e1f4424367330baa871cd6c938220a27766db9 (diff) |
luci-app-dockerman: add ACL dependency annotations"
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dockerman/luasrc')
-rw-r--r-- | applications/luci-app-dockerman/luasrc/controller/dockerman.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua index 939edd95c..aabad3360 100644 --- a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua +++ b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua @@ -10,7 +10,10 @@ module("luci.controller.dockerman",package.seeall) function index() - entry({"admin", "docker"}, firstchild(), "Docker", 40).dependent = false + local e = entry({"admin", "docker"}, firstchild(), "Docker", 40) + e.dependent = false + e.acl_depends = { "luci-app-dockerman" } + entry({"admin","docker","overview"},cbi("dockerman/overview"),_("Overview"),0).leaf=true local remote = luci.model.uci.cursor():get("dockerman", "local", "remote_endpoint") |