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

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

    Details

    • Similar Issues:
    • Released As:
      github-oauth:0.32

      Description

      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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: