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

SAML Plugin does not load groups when access with API Token

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • saml-plugin
    • Core 1.651
      SAML Plugin 0.6

      If you access with a user with a REST Call and API token all the Authorizations grups that are obtained from SAML does not apply.
      You have a user JohnDoe, this user have administrator group assigned in SAML, when you have to access with a REST call and the API token of this user to restart the instance, Jenkins return you and a 403 error unauthorize because you do not have overall/administer, that is incorrect you are in administrator group and role and have overall/administer permission.

      curl -X POST -u USER:APITOKEN http://server.example.com/safeRestart

            ifernandezcalvo Ivan Fernandez Calvo
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: