Chris Houseknecht:
> Galaxy asks for the following scopes used to access the GitHub API:
> 
> - user:email
> - public_repo
> - read:org
> 
> These are defined here: https://developer.github.com/v3/oauth/#scopes
> 
> The last two allow us to see the orgs you belong to and the repos you have 
> access to, which is needed when building the list of role repositories on 
> My Roles page.

Ok, so you actually do not need _write_ access but github does not
provide a read-only version of "public_repo", correct?

If the user accepts
> - user:email
> - read:org

but does not authorize
> - public_repo

you would still be able to build that list (My Roles page) IFF his role
is directly listed "under his account" - is that correct?


I have not seen an option in the UI to selectively authorize access but
according to:
https://developer.github.com/v3/oauth/#requested-scopes-vs-granted-scopes

this will "soon" be possible (pointing to a entry from 2013?
https://developer.github.com/changes/2013-10-04-oauth-changes-coming/ )

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/56BB8668.1090807%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to