Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46365

Default OAuth Scope for the "Create personal access token" link in "Create Pipeline" doesn't include webhooks

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 1

      Description

      See the attached image, the default "personal access token" scope should include admin:repo_hook/write:repo_hook and/or admin:org_hook.

      Aug 23, 2017 5:15:26 AM org.jenkinsci.plugins.github_branch_source.GitHubOrgWebHook register                                                            
      WARNING: Failed to register GitHub Org hook to https://github.com/CodeValet (missing permissions?): {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
      

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            I suspect we need write:repo_hook as the most people creating pipelines are likely to have write access to the repo?

            Show
            jamesdumay James Dumay added a comment - I suspect we need write:repo_hook as the most people creating pipelines are likely to have write access to the repo?

              People

              Assignee:
              cliffmeyers Cliff Meyers
              Reporter:
              rtyler R. Tyler Croy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: