-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requested permissions are too broad #3
Comments
Thanks for reporting this. It's a bug. We intended to redo permissions to only ask for "(no scope)" permissions. Somehow the ticket got closed without being implemented. We'll investigate further. |
You are right.
We will get this in the pipeline to be fixed. |
@fluffynuts Thanks for reporting this. We re-investigated the Github OAuth scopes (docs) and looked for a scope that only allows read-only access to public repos. Unfortunately, there's no such scope available and it seems this has been a known issue for Github OAuth since 2016. In short, Github OAuth doesn't support read-only access to repos. Here is one of the many similar feature requests to Github that I can find on this topic. We also looked into how other apps that need access to repos handle this. And this doc by CodeClimate also confirmed our research:
So we're already using the most narrow scope that's required for our use case ( We'll consider adding help text to explain better why the |
@fluffynuts status: our next step is to make a developer build with "no scope" permissions and see if there are any broken features. |
read_only permissions are on the way. |
If Merico aims to provide metrics for software development I can understand wanting read-access to basically all public information on GitHub, but why does it also request write access? I'm not comfortable handing over global write access to my code on GitHub.
Would it be possible to reduce required permissions to read-only?
The text was updated successfully, but these errors were encountered: