summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-dockerman/luasrc/controller/dockerman.lua5
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")