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

JobConfigHistory not visible to Roles who have the right to configure Jobs

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • RHEL 6.2 64-Bit, Oracle JDK 1.6.0.30, VMWare TcServer, Jenkins 1.450, JobConfigHistory Version 1.13

      Hello,

      we have a problem on our productive System. We have Matrix-Based Security activated and People in Roles who have the right to configure build-jobs are do not see the Button "Job Config History". Please look at the Screenshot attached. The only Role who is able to see the Button in this environment is "jenkins_admin".

      Kind regards

          [JENKINS-13224] JobConfigHistory not visible to Roles who have the right to configure Jobs

          Igor Masen created issue -
          Igor Masen made changes -
          Description Original: Hello,

          we have a problem on our productive System. We have Matrix-Based Security activated and People in Roles who have the right to configure build-jobs are do not see the Button "Job Config History". Please look at the Screenshot attached.

          Kind regards
          New: Hello,

          we have a problem on our productive System. We have Matrix-Based Security activated and People in Roles who have the right to configure build-jobs are do not see the Button "Job Config History". Please look at the Screenshot attached. The only Role who is able to see the Button in this environment is "jenkins_admin".

          Kind regards

          Mirko Friedenhagen added a comment - - edited

          Am I right, that you want jenkins_build_manager s to be able to configure jobs? I can see this as well with LTS 1.424.6. Stefan, funny enough, we have not observed this. Thanks for reporting.

          Mirko Friedenhagen added a comment - - edited Am I right, that you want jenkins_build_manager s to be able to configure jobs? I can see this as well with LTS 1.424.6. Stefan, funny enough, we have not observed this. Thanks for reporting.

          I have to revoke my statement. Using 1.424.6 and the current "master" (https://github.com/jenkinsci/jobConfigHistory-plugin/commit/e4b8c6278c6c733b25abc06833a659351969316e) I do see "JobConfigHistory" as user without Admin rights but the right to configure a job. Could you try the snapshot from http://huschteguzzel.de/hudson/job/jenkinsci-jobConfigHistory-plugin/788/org.jenkins-ci.plugins$jobConfigHistory/? The unittests are failing due to timing issues (can not reproduce this on my workstation, only fails in huschteguzzel's vm instance).

          Mirko Friedenhagen added a comment - I have to revoke my statement. Using 1.424.6 and the current "master" ( https://github.com/jenkinsci/jobConfigHistory-plugin/commit/e4b8c6278c6c733b25abc06833a659351969316e ) I do see "JobConfigHistory" as user without Admin rights but the right to configure a job. Could you try the snapshot from http://huschteguzzel.de/hudson/job/jenkinsci-jobConfigHistory-plugin/788/org.jenkins-ci.plugins$jobConfigHistory/? The unittests are failing due to timing issues (can not reproduce this on my workstation, only fails in huschteguzzel's vm instance).

          Working combination.

          Mirko Friedenhagen added a comment - Working combination.
          Mirko Friedenhagen made changes -
          Attachment New: screenshot-with-1.424.6.jpg [ 21678 ]

          I now tried 1.450 with the master running from Netbeans, seems to work. Do your jenkins_build_manager s see the "Configure" link but not the JobConfigHistory link?

          Mirko Friedenhagen added a comment - I now tried 1.450 with the master running from Netbeans, seems to work. Do your jenkins_build_manager s see the "Configure" link but not the JobConfigHistory link?

          Igor Masen added a comment -

          Hello Mirko,

          sorry for my late answer. I am not at the office today, so I can not test it yet. But yes you are right, the group jenkins_build_manager can see the configure job button (that's their job), but can not see the JobConfigHistory link. For a correct test with your newer snapshot I should be in my office and trying it on the testing and/or productive environment (maybe tomorrow).

          I don't know if it is important for you, but we are using the Jenkins-Crowd-PlugIn (https://wiki.jenkins-ci.org/display/JENKINS/Crowd+2+Plugin) to proxy the authorization to our ldap.

          Igor Masen added a comment - Hello Mirko, sorry for my late answer. I am not at the office today, so I can not test it yet. But yes you are right, the group jenkins_build_manager can see the configure job button (that's their job), but can not see the JobConfigHistory link. For a correct test with your newer snapshot I should be in my office and trying it on the testing and/or productive environment (maybe tomorrow). I don't know if it is important for you, but we are using the Jenkins-Crowd-PlugIn ( https://wiki.jenkins-ci.org/display/JENKINS/Crowd+2+Plugin ) to proxy the authorization to our ldap.
          Igor Masen made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Igor Masen made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

            stefanbrausch Stefan Brausch
            imasen Igor Masen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: