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

Cloud.PROVISION is not a first class citizen permission

    XMLWordPrintable

    Details

    • Similar Issues:

      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

            Hide
            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)

            Show
            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)
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been merged towards jenkins-2.20

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix has been merged towards jenkins-2.20
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            olivergondza Oliver Gondža added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: