microsoft / microsoft/winget-cli
Handle parental consent required from store source better
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Current behavior:
Create 2 accounts: a parent and a child account.
For the child account restrict access to content. For example: specifically choose 3 and under.
Have the child account try to access Spotify via store. This will block and require the parent to approve.
now use a manifest that accesses Spotify via the store source and try to use the Windows Package Manager to work around this.
This will fail but the error is not ideal.
The error should be updated to communicate that the account is restricted and that they will need someone else to install it for or provide parental consent.
if we know this is a parental rights error, we could go with
"You need permission to install this application. To request permission, go here: "
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the restricted child-account scenario with a store-sourced Spotify manifest and Windows Package Manager. Trace the resulting error through the store-source installation path, then update the user-facing message to explain that parental consent or another person’s help is required and include the product store URL when available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100