luci2: add menu constraints
[project/luci2/ui.git] / luci2 / share / menu.d / network.json
1 {
2 "network": {
3 "title": "Network",
4 "index": 30
5 },
6 "network/interfaces": {
7 "title": "Interfaces",
8 "acls": [ "network" ],
9 "view": "network/interfaces",
10 "index": 10
11 },
12 "network/switch": {
13 "title": "Switch",
14 "acls": [ "network" ],
15 "files": [ "/sbin/swconfig" ],
16 "view": "network/switch",
17 "index": 30
18 },
19 "network/hosts": {
20 "title": "Hostnames",
21 "acls": [ "hostnames" ],
22 "files": [ "/etc/config/dhcp" ],
23 "view": "network/hosts",
24 "index": 50
25 },
26 "network/routes": {
27 "title": "Routes",
28 "acls": [ "network" ],
29 "view": "network/routes",
30 "index": 70
31 },
32 "network/diagnostics": {
33 "title": "Diagnostics",
34 "acls": [ "diagnostics" ],
35 "view": "network/diagnostics",
36 "index": 80
37 }
38 }