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

Accessing Jenkins using API token does not work in group memberships

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Jenkins version : 2.174
      Role-based Authorization Strategy version : 2.10
      ---
      Jenkins: 2.332.3
      Folder-based Authorization Strategy: 1.4
      Folders: 6.722.v8165b_a_cf25e9

    Description

      I am using Role Based Strategy to manage user permission.

      I have an account under group A. I give this group Admin permission. When I call rest API with user API token Jenkins rejects the request with 403 Forbidden Error. If I add this user directly to the global roles and grant appropriate permission, it works. 

      It seems API authorization doesn't work with Group. Any idea on this?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hmr5kor Harish Kumar
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: