summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-status/root/usr/share')
-rw-r--r--modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json16
-rw-r--r--modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json5
2 files changed, 11 insertions, 10 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 0f066e67ad..1e6556bab2 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
@@ -11,27 +11,27 @@
}
},
- "admin/status/iptables": {
- "title": "Firewall",
+ "admin/status/routes": {
+ "title": "Routing",
"order": 2,
"action": {
"type": "view",
- "path": "status/iptables"
+ "path": "status/routes"
},
"depends": {
- "acl": [ "luci-mod-status-firewall" ]
+ "acl": [ "luci-mod-status-routes" ]
}
},
- "admin/status/routes": {
- "title": "Routes",
+ "admin/status/iptables": {
+ "title": "Firewall",
"order": 3,
"action": {
"type": "view",
- "path": "status/routes"
+ "path": "status/iptables"
},
"depends": {
- "acl": [ "luci-mod-status-routes" ]
+ "acl": [ "luci-mod-status-firewall" ]
}
},
diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
index 4d36beb155..7199cb76f9 100644
--- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
@@ -44,11 +44,12 @@
},
"luci-mod-status-routes": {
- "description": "Grant access to the system route status",
+ "description": "Grant access to routing status",
"read": {
"file": {
"/sbin/ip -[46] neigh show": [ "exec" ],
- "/sbin/ip -[46] route show table all": [ "exec" ]
+ "/sbin/ip -[46] route show table all": [ "exec" ],
+ "/sbin/ip -[46] rule show": [ "exec" ]
},
"ubus": {
"file": [ "exec" ]