summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-unbound')
-rw-r--r--applications/luci-app-unbound/luasrc/controller/unbound.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-unbound/luasrc/controller/unbound.lua b/applications/luci-app-unbound/luasrc/controller/unbound.lua
index 32879cb9f..f60feaa1f 100644
--- a/applications/luci-app-unbound/luasrc/controller/unbound.lua
+++ b/applications/luci-app-unbound/luasrc/controller/unbound.lua
@@ -18,8 +18,9 @@ function index()
-- Expanded View
- entry({"admin", "services", "unbound"},
- firstchild(), _("Recursive DNS")).dependent = false
+ local e = entry({"admin", "services", "unbound"}, firstchild(), _("Recursive DNS"))
+ e.dependent = false
+ e.acl_depends = { "luci-app-unbound" }
-- UCI Tab(s)
entry({"admin", "services", "unbound", "configure"},