You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights. It should be created in a temporary location as its already a temp file and should work for non-admin users also.
Current Behavior
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights.
Affected features
node API
cli
Possible Solution
nodeWifiConnect.xml temporary file should be created at a temporary solution so that non admin users can also connect to the network without need to run as an administrator.
Steps to Reproduce (for bugs)
Run the connectWindows API without the admin rights.
Connection will fail with the attached message (EPERM)
Context
Your Environment
OS: Microsoft windows 10
node-wifi version: 2.0.14
wifi card: Intel(R) Dual Band Wireless-AC 8265
The text was updated successfully, but these errors were encountered:
## Description
While connecting to a network in windows by a non-admin user, the connection fails if the project/package-workspace is under some restricted location (Ex: Program Files) because the nodeWifiConnect.xml is created is not getting created due to permission issues.
Changed the location of nodeWifiConnect.xml to be created in a temporary directory (C:\Users<userId>\AppData\Local\Temp) so that work flow is uninterrupted for non-admin user also.
## Motivation and Context
This change is required as all window users (Admin and Non-Admin) should be able to connect to the network.
#159
## How Has This Been Tested?
After the required changes are done, we tried to connect to the network in a non-admin user machine, which works as expected.
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactorization (non-functional change which improve code readibility)
Expected Behavior
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights. It should be created in a temporary location as its already a temp file and should work for non-admin users also.
Current Behavior
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights.
Affected features
Possible Solution
nodeWifiConnect.xml temporary file should be created at a temporary solution so that non admin users can also connect to the network without need to run as an administrator.
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: