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

Cloud.PROVISION is not a first class citizen permission

    XMLWordPrintable

Details

    Description

      The manual cloud node provisioning buttons on /computer/ rely on this permission by convention but that seems to be tied to Jenkins.ADMINISTER. MAke this permission configurable as any other.

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/slaves/Cloud.java
            core/src/main/resources/hudson/slaves/Messages.properties
            core/src/test/java/hudson/slaves/CloudTest.java
            http://jenkins-ci.org/commit/jenkins/11af7d0bc1031d8f8458cf7556a0c845b9cccc39
            Log:
            [FIXED JENKINS-37616] Make Cloud.PROVISION independent from Jenkins.ADMINISTER (#2521)

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/slaves/Cloud.java core/src/main/resources/hudson/slaves/Messages.properties core/src/test/java/hudson/slaves/CloudTest.java http://jenkins-ci.org/commit/jenkins/11af7d0bc1031d8f8458cf7556a0c845b9cccc39 Log: [FIXED JENKINS-37616] Make Cloud.PROVISION independent from Jenkins.ADMINISTER (#2521)
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been merged towards jenkins-2.20

            oleg_nenashev Oleg Nenashev added a comment - The fix has been merged towards jenkins-2.20

            There seems to be an issue where any usage of this new permission is lost when jenkins is restarted - See JENKINS-43279

            datallah Daniel Atallah added a comment - There seems to be an issue where any usage of this new permission is lost when jenkins is restarted - See JENKINS-43279

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/model/Computer.java
            core/src/test/java/hudson/slaves/CloudTest.java
            test/src/test/java/hudson/slaves/CloudTest.java
            http://jenkins-ci.org/commit/jenkins/d35dfcb24fb2272076f863780fdc3de93d0ec04b
            Log:
            [FIXED JENKINS-37616] Make sure Cloud.PROVISION is properly initialized

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/model/Computer.java core/src/test/java/hudson/slaves/CloudTest.java test/src/test/java/hudson/slaves/CloudTest.java http://jenkins-ci.org/commit/jenkins/d35dfcb24fb2272076f863780fdc3de93d0ec04b Log: [FIXED JENKINS-37616] Make sure Cloud.PROVISION is properly initialized
            oleg_nenashev Oleg Nenashev added a comment -

            The second fix has been integrated towards 2.55. Will mark as Lts candidate for 2.46.3

            oleg_nenashev Oleg Nenashev added a comment - The second fix has been integrated towards 2.55. Will mark as Lts candidate for 2.46.3

            oleg_nenashev, I presume you have labeled this to get JENKINS-43279 backported.

            olivergondza Oliver Gondža added a comment - oleg_nenashev , I presume you have labeled this to get JENKINS-43279 backported.

            People

              Unassigned Unassigned
              olivergondza Oliver Gondža
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: