Re:Screeps – An MMO strategy open world game for programmers
by fortytw2 on Friday August 07, 2015 @11:08AM
(#10022853)
Ahh. Makes sense then - I wonder if GitHub allows granular permissions from OAuth requests?
Looks like they don't, unfortunately - https://developer.github.com/v3/oauth/#scopes
Re:Screeps – An MMO strategy open world game for programmers
by thefreeman on Friday August 07, 2015 @11:12AM
(#10022881)
They do. From the link you provided:
public_repo - Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
repo - Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public and private repositories and organizations.
Also, I don't think they need write access at all to your repositories, so I think the default no scope would be sufficient
(no scope) - Grants read-only access to public information (includes public user profile info, public repository info, and gists)
Re:Screeps – An MMO strategy open world game for programmers
by fortytw2 on Friday August 07, 2015 @11:19AM
(#10022933)
Well, by granular I meant on a per-repository basis, ie. so you could grant an application access to only one repo (If anyone from GitHub is reading this...)
Re:Screeps – An MMO strategy open world game for programmers
by lojack on Friday August 07, 2015 @12:04PM
(#10023218)
As RadioactiveMan said, they have a somewhat undocumented feature where they will sync your screep code with a GitHub repository. The only way to do that with GitHub scopes is to allow full read/write access to your all of your repositories including organizational repos.
[1] http://support.screeps.com/hc/en-us/articles/203022512-Commi...
[2] http://support.screeps.com/hc/communities/public/questions/2...