Doing GET /repos/:owner/:repo/collaborators/:username/permission on the user account the api token was generated from reveals "permission": "admin" which would signify push access :/
On Monday, June 12, 2017 at 10:26:58 AM UTC-4, Jesse Glick wrote: > > On Mon, Jun 12, 2017 at 10:10 AM, Stephen Connolly > <[email protected] <javascript:>> wrote: > > The *user account* that the token was > > created in needs to have some permissions in the github organization (or > the > > github repo) also. > > > > I haven't played with it sufficiently to say what the exact minimum > > permission set is. > > > https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level > > > requires push access on the repository. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b46a2f5d-1211-461b-a3c6-8ab69b76dce4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
