summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/luasrc/controller/aria2.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-aria2/luasrc/controller/aria2.lua')
-rw-r--r--applications/luci-app-aria2/luasrc/controller/aria2.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-aria2/luasrc/controller/aria2.lua b/applications/luci-app-aria2/luasrc/controller/aria2.lua
index 4891727a08..52d7c94ebb 100644
--- a/applications/luci-app-aria2/luasrc/controller/aria2.lua
+++ b/applications/luci-app-aria2/luasrc/controller/aria2.lua
@@ -14,8 +14,9 @@ function index()
return
end
- entry({"admin", "services", "aria2"},
- firstchild(), _("Aria2")).dependent = false
+ local e = entry({"admin", "services", "aria2"}, firstchild(), _("Aria2"))
+ e.dependent = false
+ e.acl_depends = { "luci-app-aria2" }
entry({"admin", "services", "aria2", "config"},
cbi("aria2/config"), _("Configuration"), 1)