summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-17 12:14:50 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-17 12:40:31 +0200
commit8f34e105c059575a9c75e43468345e3651210b81 (patch)
tree1cfb6f0f5b0df7e34bc5942760e8dfb1e3d53196 /modules/luci-mod-status/root/usr
parent01d8283ecea730191ce41302acb7ecd1aaf0631f (diff)
treewide: add ACL annotations to menu entries
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/root/usr')
-rw-r--r--modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
index 0dcf6e8435..e8eee643d5 100644
--- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
@@ -5,6 +5,9 @@
"action": {
"type": "template",
"path": "admin_status/index"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-index" ]
}
},
@@ -14,6 +17,9 @@
"action": {
"type": "view",
"path": "status/iptables"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-firewall" ]
}
},
@@ -23,6 +29,9 @@
"action": {
"type": "view",
"path": "status/routes"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-routes" ]
}
},
@@ -32,6 +41,9 @@
"action": {
"type": "view",
"path": "status/syslog"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-logs" ]
}
},
@@ -41,6 +53,9 @@
"action": {
"type": "view",
"path": "status/dmesg"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-logs" ]
}
},
@@ -50,6 +65,9 @@
"action": {
"type": "view",
"path": "status/processes"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-processes" ]
}
},
@@ -59,6 +77,9 @@
"action": {
"type": "alias",
"path": "admin/status/realtime/load"
+ },
+ "depends": {
+ "acl": [ "luci-mod-status-realtime" ]
}
},