git4school / git4school-visu

Git4School, a dashboard for supporting teacher interventions in Software Engineering courses
https://git4school.firebaseapp.com/
Apache License 2.0
2 stars 3 forks source link

Fixing known issue 1 (easily add git4school to a new organization, avoiding the "revoke workaround") #75

Open erikmd opened 3 years ago

erikmd commented 3 years ago

Hi @raclet @FranckSilvestre, this suggestion is related to the following issue documented in the README:

  • If you want to access an organization's repositories but forgot to grant rights the first time you log in, you will not be able to use these repositories in the application. We are investigating the possibility to handle this in the application, but for the time being you need to log out of Git4School, revoke the OAuth key manually in your Github account, and then, when you log back in to Git4School, you can grant rights for the organization of your choice

The following strategy actually worked for me, so maybe (if you confirm it works for you as well) that could be a solution to avoid the "revoke-and-signup-again" workaround:

Assuming $ORGA denotes the GitHub organization name (at URL https://github.com/$ORGA):