Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json')
-rw-r--r--modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json
index 670f2c1a49..188c695f3f 100644
--- a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json
+++ b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json
@@ -7,6 +7,7 @@
"path": "network/switch"
},
"depends": {
+ "acl": [ "luci-mod-network-config" ],
"fs": { "/sbin/swconfig": "executable" },
"uci": { "network": { "@switch": true } }
}
@@ -20,6 +21,7 @@
"path": "network/wireless"
},
"depends": {
+ "acl": [ "luci-mod-network-config" ],
"uci": { "wireless": { "@wifi-device": true } }
}
},
@@ -38,6 +40,9 @@
"action": {
"type": "view",
"path": "network/interfaces"
+ },
+ "depends": {
+ "acl": [ "luci-mod-network-config" ]
}
},
@@ -49,6 +54,7 @@
"path": "network/dhcp"
},
"depends": {
+ "acl": [ "luci-mod-network-dhcp" ],
"uci": { "dhcp": true }
}
},
@@ -61,6 +67,7 @@
"path": "network/hosts"
},
"depends": {
+ "acl": [ "luci-mod-network-dhcp" ],
"uci": { "dhcp": true }
}
},
@@ -71,6 +78,9 @@
"action": {
"type": "view",
"path": "network/routes"
+ },
+ "depends": {
+ "acl": [ "luci-mod-network-config" ]
}
},
@@ -80,6 +90,9 @@
"action": {
"type": "view",
"path": "network/diagnostics"
+ },
+ "depends": {
+ "acl": [ "luci-mod-network-diagnostics" ]
}
}
}