summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-commands
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-commands')
-rw-r--r--applications/luci-app-commands/luasrc/controller/commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-commands/luasrc/controller/commands.lua b/applications/luci-app-commands/luasrc/controller/commands.lua
index 433dfa14a..f6227c6e4 100644
--- a/applications/luci-app-commands/luasrc/controller/commands.lua
+++ b/applications/luci-app-commands/luasrc/controller/commands.lua
@@ -4,7 +4,7 @@
module("luci.controller.commands", package.seeall)
function index()
- entry({"admin", "system", "commands"}, firstchild(), _("Custom Commands"), 80)
+ entry({"admin", "system", "commands"}, firstchild(), _("Custom Commands"), 80).acl_depends = { "luci-app-commands" }
entry({"admin", "system", "commands", "dashboard"}, template("commands"), _("Dashboard"), 1)
entry({"admin", "system", "commands", "config"}, cbi("commands"), _("Configure"), 2)
entry({"admin", "system", "commands", "run"}, call("action_run"), nil, 3).leaf = true