diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-01 18:25:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-01 18:27:37 +0000 |
commit | 639d2147af1293101ce10b4d67bde91a42da6926 (patch) | |
tree | 90cb708ff59b4d53f6f25c7acfd5a90c5f7f614a /luci2/share | |
parent | ee05d423509af67d650666b11580fd15beae7f32 (diff) | |
download | luci2-ui-639d2147af1293101ce10b4d67bde91a42da6926.tar.gz |
luci2: Initial network interface configuration view
Diffstat (limited to 'luci2/share')
-rw-r--r-- | luci2/share/acl.d/luci2.json | 39 | ||||
-rw-r--r-- | luci2/share/menu.d/network.json | 6 |
2 files changed, 42 insertions, 3 deletions
diff --git a/luci2/share/acl.d/luci2.json b/luci2/share/acl.d/luci2.json index 4d32466..9e21474 100644 --- a/luci2/share/acl.d/luci2.json +++ b/luci2/share/acl.d/luci2.json @@ -308,19 +308,52 @@ "description": "Network, switch and routing configuration", "read": { "ubus": { + "network": [ + "get_proto_handlers" + ], + "network.device": [ + "status" + ], + "network.interface": [ + "dump" + ], + "network.wireless": [ + "status" + ], "luci2.network": [ "switch_list", "switch_info", - "switch_status" + "switch_status", + "device_list" + ], + "luci2.network.bwmon": [ + "devices", + "statistics" ] }, "uci": [ - "network" + "network", + "wireless" + ] + }, + "write": { + "uci": [ + "network", + "wireless" + ] + } + }, + + "firewall": { + "description": "Firewall configuration", + "read": { + "uci": [ + "firewall" ] }, "write": { "uci": [ - "network" + "firewall" ] } } diff --git a/luci2/share/menu.d/network.json b/luci2/share/menu.d/network.json index e577d70..d590046 100644 --- a/luci2/share/menu.d/network.json +++ b/luci2/share/menu.d/network.json @@ -3,6 +3,12 @@ "title": "Network", "index": 30 }, + "network/interfaces": { + "title": "Interfaces", + "acls": [ "network" ], + "view": "network/interfaces", + "index": 10 + }, "network/switch": { "title": "Switch", "acls": [ "network" ], |