You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+26-9Lines changed: 26 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,38 @@ Checks for new GitHub notifications every minute, shows the number of notificati
26
26
27
27
## Screenshots
28
28
29
+
### Options
30
+
31
+

32
+
29
33
### Notification Count
30
34
31
35

36
+
## GitHub Token Setup
32
37
33
-
### Options
38
+
### Token Types Supported
34
39
35
-

40
+
This extension requires a GitHub personal access token to function properly. You can follow instructions from GitHub to create a personal access token in your account.
41
+
42
+
**Important:** Only classic personal access tokens are currently supported. Fine-grained personal access tokens cannot be used at this time. This limitation is tracked in an [open issue](https://github.com/sindresorhus/notifier-for-github/issues/283).
43
+
44
+
### Repository Permissions
45
+
46
+
#### For Private Repository Notifications
36
47
37
-
## Permissions
48
+
To receive desktop notifications for private repositories, you must create a personal access token with the `repo` scope. This requirement exists because of GitHub's current permission structure - accessing any information about private repositories requires full repository control permissions.
49
+
50
+
#### Security Considerations
51
+
52
+
If you have security concerns about granting the `repo` scope, you can skip this permission. However, be aware of the following tradeoff:
53
+
54
+
-**Without `repo` scope:** Clicking on notifications will redirect you to the general notifications homepage instead of the specific repository or issue
55
+
-**With `repo` scope:** Clicking on notifications will take you directly to the relevant repository content
56
+
57
+
The choice between security and functionality is yours based on your comfort level with the permissions required.
58
+
59
+
60
+
## Extension Permissions
38
61
39
62
The extension requests a couple of optional permissions. It works as intended even if you disallow these. Some features work only when you grant these permissions as mentioned below.
40
63
@@ -48,12 +71,6 @@ This permission also lets us update the notification count immediately after ope
48
71
49
72
If you want to receive desktop notifications for public repositories, you can enable them on extension options page. You will then be asked for the `notifications` permission.
50
73
51
-
### Repos Permission
52
-
53
-
If you want to receive (useful) desktop notifications for any private repositories you have, you will have to create a GitHub personal access token that has access to the `repo` scope as well. This is due to GitHub's current permission scheme, as the only way we can read anything about your private repos is if we have full control over repositories.
54
-
55
-
If you're concerned with your security in this manner, please feel free to ignore this scope. Just be aware that if you do not grant this scope, clicking on the notification will take you to the notifications home page, since we can't get any information about the repo you got the notification for.
0 commit comments