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

Role-Based Authorization Strategy: not working with Authorize Project plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • role-strategy-plugin
    • None
    • Jenkins: 2.222.3
      Role Strategy plugin: 3.0
      Authorize Project: 1.3.0

      Jobs are not executed with enabled Authorize project setting (run as specified user),  though specified user has full permissions in the Role strategy plugin. The error message is: "[Specified user] lacks permission to run on..."

      We have a role Role1 (item role+node role) with full permissions to all items by ".*" pattern. 

      User1 is assigned to the Role1.

      User1 is specified in Authorize project setting for the Job1.

      When we start the Job1, it is not executed and waiting for agents (status "Pending"). And Job1's build history shows that specified user has no permission to run on all the nodes (see the error message above).

       

            oleg_nenashev Oleg Nenashev
            azlatkina Alla Zlatkina
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: