未验证 提交 3f16a1f4 编写于 作者: O openharmony_ci 提交者: Gitee

!2418 【communication】修改WIFI L2接口权限问题

Merge pull request !2418 from 权力/myfeature1
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
......@@ -15,12 +15,13 @@
"module": {
"package": "ohos.acts.communication.wifi.wifidevice",
"name": ".MyApplication",
"mainAbility": "ohos.acts.communication.wifi.wifidevice.MainAbility",
"deviceType": [
"phone"
],
"distro": {
"deliveryWithInstall": true,
"moduleName": "entry",
"moduleName": "wifi_standard",
"moduleType": "entry"
},
"abilities": [
......@@ -55,6 +56,44 @@
"autoDesignWidth": false
}
}
],
"reqPermissions": [
{
"name" : "ohos.permission.GET_WIFI_INFO",
"reason" : "use ohos.permission.GET_WIFI_INFO"
},
{
"name" : "ohos.permission.SET_WIFI_INFO",
"reason" : "use ohos.permission.SET_WIFI_INFO"
},
{
"name" : "ohos.permission.MANAGE_WIFI_CONNECTION",
"reason" : "use ohos.permission.MANAGE_WIFI_CONNECTION"
},
{
"name" : "ohos.permission.SET_WIFI_CONFIG",
"reason" : "use ohos.permission.SET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_WIFI_CONFIG",
"reason" : "use ohos.permission.GET_WIFI_CONFIG"
},
{
"name" : "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason" : "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name" : "ohos.permission.GET_WIFI_LOCAL_MAC",
"reason" : "use ohos.permission.GET_WIFI_LOCAL_MAC"
},
{
"name" : "ohos.permission.MANAGE_WIFI_HOTSPOT",
"reason" : "use ohos.permission.MANAGE_WIFI_HOTSPOT"
},
{
"name" : "ohos.permission.GET_WIFI_INFO_INTERNAL",
"reason" : "use ohos.permission.GET_WIFI_INFO_INTERNAL"
}
]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册