summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dawn
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-dawn')
-rw-r--r--applications/luci-app-dawn/luasrc/controller/dawn.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/applications/luci-app-dawn/luasrc/controller/dawn.lua b/applications/luci-app-dawn/luasrc/controller/dawn.lua
index 64055b4af..6ba53f13d 100644
--- a/applications/luci-app-dawn/luasrc/controller/dawn.lua
+++ b/applications/luci-app-dawn/luasrc/controller/dawn.lua
@@ -1,7 +1,10 @@
module("luci.controller.dawn", package.seeall)
function index()
- entry({ "admin", "dawn" }, firstchild(), "DAWN", 60).dependent = false
+ local e = entry({ "admin", "dawn" }, firstchild(), "DAWN", 60)
+ e.dependent = false
+ e.acl_depends = { "luci-app-dawn" }
+
entry({ "admin", "dawn", "configure_daemon" }, cbi("dawn/dawn_config"), "Configure DAWN", 1)
entry({ "admin", "dawn", "view_network" }, cbi("dawn/dawn_network"), "View Network Overview", 2)
entry({ "admin", "dawn", "view_hearing_map" }, cbi("dawn/dawn_hearing_map"), "View Hearing Map", 3)