From 5f776df12b1eaa242248c43486084b19e5d5730a Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 23 Apr 2020 15:36:49 +0200 Subject: luci-app-dockerman: add ACL dependency annotations" Signed-off-by: Florian Eckert --- applications/luci-app-dockerman/luasrc/controller/dockerman.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-dockerman/luasrc/controller') diff --git a/applications/luci-app-dockerman/luasrc/controller/dockerman.lua b/applications/luci-app-dockerman/luasrc/controller/dockerman.lua index 939edd95c1..aabad3360d 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") -- cgit v1.2.3