Skip to content
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

Chocolatey commands should accurately report if they may require administrator rights or not #3472

Open
2 tasks done
corbob opened this issue Jun 25, 2024 · 0 comments
Open
2 tasks done

Comments

@corbob
Copy link
Member

corbob commented Jun 25, 2024

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

No response

Describe The Solution. Why is it needed?

For some commands, there are situations where admin is not required. Many of these commands are just returning true on MayRequireAdminAccess. It would be ideal if they only returned true on operations that require administrator access.

Additional Context

An example of this is choco feature get. It is not choco feature list, and so it is marked as possibly requiring admin access. It would probably be good to assess all of the MayRequireAdminAccess methods to ensure that they are behaving as desired.

image

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant