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

Search filters for package elevation requirements #1898

Open
denelon opened this issue Feb 3, 2022 · 0 comments
Open

Search filters for package elevation requirements #1898

denelon opened this issue Feb 3, 2022 · 0 comments
Labels
Area-Settings Issue related to WinGet Settings Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@denelon
Copy link
Contributor

denelon commented Feb 3, 2022

Description of the new feature/enhancement

I would like a setting to specify I want packages that run in "user" mode. My account doesn't have administrator rights on the machine. I don't want to have them show up in search results by default if I have enabled that setting.

"searchFilters": {
  "elevationRequirement": {
    "elevationRequired": "exclude"
    "elevationProhibited": "include"
    "elevatesSelf": "exclude"
  }
}

The default behavior is to include.


I would also like the ability to filter search results by packages that require or prohibit administrator mode. That way I can still search across all packages to be informed of what is available that I may not be able to install as a user or an administrator.

winget search <query> --elevationRequired - includes "elevatesSelf"
winget search <query> --elevationProhibited

Proposed technical implementation details (optional)

No response

@denelon denelon added the Issue-Feature This is a feature request for the Windows Package Manager client. label Feb 3, 2022
@ghost ghost added the Needs-Triage Issue need to be triaged label Feb 3, 2022
@denelon denelon removed the Needs-Triage Issue need to be triaged label Feb 3, 2022
@ghost ghost added the Needs-Triage Issue need to be triaged label Feb 3, 2022
@denelon denelon transferred this issue from microsoft/winget-pkgs Feb 3, 2022
@denelon denelon removed the Needs-Triage Issue need to be triaged label Feb 3, 2022
@denelon denelon changed the title [New Feature]: Search filters for package elevation requirements Search filters for package elevation requirements Feb 3, 2022
@denelon denelon added the Area-Settings Issue related to WinGet Settings label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issue related to WinGet Settings Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

1 participant