summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cshark/luasrc/controller/cshark.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-cshark/luasrc/controller/cshark.lua')
-rw-r--r--applications/luci-app-cshark/luasrc/controller/cshark.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-cshark/luasrc/controller/cshark.lua b/applications/luci-app-cshark/luasrc/controller/cshark.lua
index 43410a0045..a5812a6519 100644
--- a/applications/luci-app-cshark/luasrc/controller/cshark.lua
+++ b/applications/luci-app-cshark/luasrc/controller/cshark.lua
@@ -18,20 +18,26 @@ function index()
page.target = cbi("admin_network/cshark")
page.title = _("CloudShark")
page.order = 70
+ page.acl_depends = { "luci-app-cshark" }
page = entry({"admin", "network", "cshark_iface_dump_start"}, call("cshark_iface_dump_start"), nil)
+ page.acl_depends = { "luci-app-cshark" }
page.leaf = true
page = entry({"admin", "network", "cshark_iface_dump_stop"}, call("cshark_iface_dump_stop"), nil)
+ page.acl_depends = { "luci-app-cshark" }
page.leaf = true
page = entry({"admin", "network", "cshark_check_status"}, call("cshark_check_status"), nil)
+ page.acl_depends = { "luci-app-cshark" }
page.leaf = true
page = entry({"admin", "network", "cshark_link_list_get"}, call("cshark_link_list_get"), nil)
+ page.acl_depends = { "luci-app-cshark" }
page.leaf = true
page = entry({"admin", "network", "cshark_link_list_clear"}, call("cshark_link_list_clear"), nil)
+ page.acl_depends = { "luci-app-cshark" }
page.leaf = true
end