scratchfoundation / scratchfoundation/scratch-desktop

Can't allow camera permissions after denying it

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug macOS needs-triage
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.

(from https://electronjs.org/docs/api/system-preferences)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.