luci2: Initial network interface configuration view
[project/luci2/ui.git] / luci2 / share / acl.d / luci2.json
index 64974e8077ed3e8028c024ec5bf2902b7d22daa9..9e2147467e26ea11d4fee31f34cd8d462be2275f 100644 (file)
                }
        },
 
+       "upgrade": {
+               "description": "Firmware upgrade",
+               "read": {
+                       "ubus": {
+                               "luci2.system": [
+                                       "upgrade_test",
+                                       "reset_test"
+                               ]
+                       }
+               },
+               "write": {
+                       "luci-io": [
+                               "upload"
+                       ],
+                       "ubus": {
+                               "luci2.system": [
+                                       "upgrade_start",
+                                       "upgrade_clean",
+                                       "reset_start",
+                                       "reboot"
+                               ]
+                       }
+               }
+       },
+
+       "backup": {
+               "description": "Backup and Restore",
+               "read": {
+                       "luci-io": [
+                               "backup"
+                       ],
+                       "ubus": {
+                               "luci2.system": [
+                                       "backup_config_get",
+                                       "backup_list"
+                               ]
+                       }
+               },
+               "write": {
+                       "ubus": {
+                               "luci2.system": [
+                                       "backup_clean",
+                                       "backup_config_set",
+                                       "backup_restore",
+                                       "reboot"
+                               ]
+                       }
+               }
+       },
+
        "startup": {
                "description": "System boot settings",
                "read": {
                                "system"
                        ]
                }
+       },
+
+       "diagnostics": {
+               "description": "Network diagnostic tools",
+               "read": {
+                       "ubus": {
+                               "luci2.network": [
+                                       "ping",
+                                       "ping6",
+                                       "traceroute",
+                                       "traceroute6",
+                                       "nslookup"
+                               ]
+                       }
+               }
+       },
+
+       "hostnames": {
+               "description": "Host entry management",
+               "read": {
+                       "uci": [
+                               "dhcp"
+                       ]
+               },
+               "write": {
+                       "uci": [
+                               "dhcp"
+                       ]
+               }
+       },
+
+       "network": {
+               "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",
+                                       "device_list"
+                               ],
+                               "luci2.network.bwmon": [
+                                       "devices",
+                                       "statistics"
+                               ]
+                       },
+                       "uci": [
+                               "network",
+                               "wireless"
+                       ]
+               },
+               "write": {
+                       "uci": [
+                               "network",
+                               "wireless"
+                       ]
+               }
+       },
+
+       "firewall": {
+               "description": "Firewall configuration",
+               "read": {
+                       "uci": [
+                               "firewall"
+                       ]
+               },
+               "write": {
+                       "uci": [
+                               "firewall"
+                       ]
+               }
        }
 }