ipfs / ipfs/ipfs-desktop

Inform end-users about why "System Events" access is being requested on macOS

Open
#1,367 1 comment 1 reaction 0 assignees View on GitHub
effort/hours exp/novice good first issue help wanted kind/maintenance P2 status/ready topic/design-content
Dominant language
JavaScript
Stars
6.6k
Forks
903
Avg merge
4d 13h
Merged PRs (30d)
5

Description

On macOS, it's a fairly standard practice to display a pre-roll if your application needs some form of permissions, *before* calling the system APIs for the first time that will actually produce the system's requested-permissions window.

For instance, for any given end-user, the following window is likely A) intimidating, and B) possibly encourages insecure habits, such as simply clicking "accept" when they see a request like that:

Screen Shot 2020-02-29 at 14 26 15

Some examples of such pre-rolls from other macOS applications (mind you, some of these are for-pay examples; there's no need for ours to be *fancy*, just *clear*):

Screen Shot 2020-02-29 at 14 32 06

Screen Shot 2020-02-29 at 14 31 13

Screen Shot 2020-02-29 at 14 39 55

Screen Shot 2020-02-29 at 14 43 17

Screen Shot 2020-02-29 at 15 19 46

Screen Shot 2020-02-29 at 15 21 59

Good practices:

- Check if it's enabled before displaying pre-roll, just in case
- Only display pre-roll once; if it's explicitly been ignored/disabled by the user, then don't bother them
- Show exactly what functionality the user will lose if they ignore it / deny the permissions

Related: #753

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.