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

Accessing Jenkins using API token does not populate group memberships

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am using Project-based Matrix Authorization Strategy to manage user permission.

      I have an account under group A. I give this group Overall/Read permission. When I call rest API with user API token Jenkins rejects the request and says no overall/read permission. If I add this user to the matrix and grant appropriate permission, it works. 

      It seems API authorization doesn't work with Group.

      Please help me on this. THanks

       

        Attachments

          Issue Links

            Activity

            lowry Lowry Tang created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Component/s matrix-project-plugin [ 18765 ]
            danielbeck Daniel Beck made changes -
            Component/s github-oauth-plugin [ 15900 ]
            Component/s matrix-auth-plugin [ 18131 ]
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ] Sam Gleske [ sag47 ]
            danielbeck Daniel Beck made changes -
            Summary API token doesn't work with Jenkins API when using group permission Accessing Jenkins using API token does not populate group memberships
            wfollonier Wadeck Follonier made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            wfollonier Wadeck Follonier made changes -
            Assignee Sam Gleske [ sag47 ] Wadeck Follonier [ wfollonier ]
            wfollonier Wadeck Follonier made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            wfollonier Wadeck Follonier made changes -
            Remote Link This issue links to "#87 (github-oauth) (Web Link)" [ 17971 ]
            lowry Lowry Tang made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Closed [ 6 ]
            danielbeck Daniel Beck made changes -
            Status Closed [ 6 ] In Review [ 10005 ]
            wfollonier Wadeck Follonier made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            wfollonier Wadeck Follonier made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            sag47 Sam Gleske made changes -
            Link This issue relates to JENKINS-48423 [ JENKINS-48423 ]
            sag47 Sam Gleske made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              wfollonier Wadeck Follonier
              Reporter:
              lowry Lowry Tang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: