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 91f3313..4d32466 100644 (file)
                }
        },
 
-       "switch": {
-               "description": "Ethernet switch configuration",
-               "read": {
-                       "ubus": {
-                               "luci2.network": [
-                                       "switch_list",
-                                       "switch_info",
-                                       "switch_status"
-                               ]
-                       },
-                       "uci": [
-                               "network"
-                       ]
-               },
-               "write": {
-                       "uci": [
-                               "network"
-                       ]
-               }
-       },
-
        "diagnostics": {
                "description": "Network diagnostic tools",
                "read": {
                                "dhcp"
                        ]
                }
+       },
+
+       "network": {
+               "description": "Network, switch and routing configuration",
+               "read": {
+                       "ubus": {
+                               "luci2.network": [
+                                       "switch_list",
+                                       "switch_info",
+                                       "switch_status"
+                               ]
+                       },
+                       "uci": [
+                               "network"
+                       ]
+               },
+               "write": {
+                       "uci": [
+                               "network"
+                       ]
+               }
        }
 }