NirmalScaria / le-git-graph

Browser extension to add git graph to GitHub website.
https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff
MIT License
3.15k stars 16 forks source link

Why does it require write access to my repos? #12

Closed sakgoyal closed 1 year ago

sakgoyal commented 1 year ago

basically the question. I understand if it needs read access. but write access should be absolutely not required.

NirmalScaria commented 1 year ago

The extension needs only read access and write access is absolutely not required. But GitHub OAuth permission scopes don't have a "repo read" access level. It is either nothing or "repo" access, which comes with both write and read.

If at any moment, GitHub adds a "repo read only" access level, the permission can definitely be changed to that. But until then, this is the only way I guess.

Closing the issue for now. (Thank you for asking, so that it can be clarified for everyone). 😄