raphaelheinz / LeetHub-3.0

This plugin automatically pushes your code to GitHub when you pass all tests on a Leetcode problem.
MIT License
130 stars 84 forks source link

Too Broad Github Permissions are being asked #33

Open UdayKiranPadhy opened 6 months ago

UdayKiranPadhy commented 6 months ago

Is your feature request related to a problem? Please describe. When we authorize this application to github , it is asking read / write for all public and private repos. Similar to Admin Access It would be much better to reduce to scope of the application to read and write to selected repos or use fine grained Access tokens.

raphaelheinz commented 6 months ago

Hi @UdayKiranPadhy, thanks, I agree this is a good idea. I am not yet sure how to reduce the scope to specific repos, because the plugin would need access to list them in the first place. Will need to read some docs to get more information :) Have you already worked with Github autorization?

UdayKiranPadhy commented 6 months ago

Yeah i have worked on Github Authorization previously , and i think its definitely possible to achieve this.