scratchfoundation / scratchfoundation/scratch-desktop
Can't allow camera permissions after denying it
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 426
- Forks
- 268
- Avg merge
- 16h 6m
- Merged PRs (30d)
- 25
Description
Shruti reports that after opening the video sensing extension, she accidentally denied the camera permission. She was then unable to find a way to allow the camera permission.
It looks like on OS 10.13 and lower, it automatically grants permissions, so this is only an issue on 10.14+:
systemPreferences.getMediaAccessStatus(mediaType)
This user consent was not required until macOS 10.14 Mojave,
so this method will always return granted if your system is running
10.13 High Sierra or lower.
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
Start by reproducing the denied-camera flow for the video sensing extension on macOS 10.14 or newer. Read Electron's systemPreferences.getMediaAccessStatus(mediaType) documentation and trace the extension's permission flow. Done means a user who previously denied camera access can find a way to allow it again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100