luci2: rename switch acl group to network as it is going to be shared with other...
[project/luci2/ui.git] / luci2 / share / acl.d / luci2.json
index 62057f3..4d32466 100644 (file)
                }
        },
 
-       "switch": {
-               "description": "Ethernet switch configuration",
+       "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": {
                                "luci2.network": [