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

Github OAuth plugin does not set user authorities on user.impersonate()

XMLWordPrintable

    • github-oauth:0.32

      When doing a User.impersonate when the github oauth plugin is installed, the resulting user does not contain any authorities (ie, github organisations/teams) that the user is a member of. 

      This is a result of getting the authentication token for the caller (which is likely to be SYSTEM) rather than the target user and setting this as the authentication.

       

      Present in 0.31

            agentgonzo Steve Arch
            agentgonzo Steve Arch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: