-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requirement for administrator to design resources? #71
Comments
The code is running mofcomp.exe which uses WMI, those calls need administrator privileges. Could you provide the an example of what you are running and I can look into what exactly fails. |
The command I'm running is:
When running it as an administrator, it's fine. When running the following, as a low privileged user, I get the following error:
|
As I suspected it needs administrator privileges to run mofcomp.exe to test the schema. There might be possible to add a switch parameter I label this as an enhancement and help wanted so that anyone in the community can run with this. |
This is a pretty limiting design choice going against the concept of "Least privilege", so I would label this as a security issue. 2 problem comes to mind:
Also, this is "just" a conversion of objects to a text file with a schema validation. It's hard to justify that it needs elevated privileges. |
It would be useful if you did not require having administrator privileges to create a resource. I'm in a situation where I would like to create a module that I will be installing later, currently using a low privilege user.
The text was updated successfully, but these errors were encountered: