diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-19 17:14:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-19 17:17:26 +0200 |
commit | 74da73b012a7ac271d683f11d98de170215ae661 (patch) | |
tree | eb0f31ad31b09b33b8166fdcaec9c57b86f01a47 /applications/luci-app-commands | |
parent | 760763a7b5da42860c6c2d63478859bb02fa9104 (diff) |
applications: add ACL dependency annotations to legacy controllers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-commands')
-rw-r--r-- | applications/luci-app-commands/luasrc/controller/commands.lua | 2 |
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 |