Skip to content

Output a tip if resource requires elevation but doesn't specify securityContext #5358

@mdanish-kh

Description

@mdanish-kh

Description of the new feature / enhancement

WinGet could detect at runtime if a resource asks for elevation. If securityContext: elevated wasn't specified in the directives of the resource, WinGet could output a helpful message like: "The resource required elevated permissions. Consider adding securityContext: elevated in the directives of the resource. For more information, see aka.ms/someUrl"

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions