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

Job owned by SYSTEM instead of creator when 'Setup after creation' used

    XMLWordPrintable

Details

    Description

      Since c04cdcd9 (1.584), ownership plugin does not have access to initiator identity as listener is called by SYSTEM.

      Attachments

        Issue Links

          Activity

            Caused by the fix for JENKINS-22769.

            olivergondza Oliver Gondža added a comment - Caused by the fix for JENKINS-22769 .
            oleg_nenashev Oleg Nenashev added a comment -

            Let's wait till the decision on JENKINS-22769.
            If danielbeck and jglick agree to revert the change, a new approach won't be required.

            oleg_nenashev Oleg Nenashev added a comment - Let's wait till the decision on JENKINS-22769 . If danielbeck and jglick agree to revert the change, a new approach won't be required.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/Fingerprint.java
            core/src/main/java/hudson/model/ListView.java
            core/src/main/java/hudson/model/listeners/ItemListener.java
            core/src/main/java/hudson/tasks/BuildTrigger.java
            http://jenkins-ci.org/commit/jenkins/a6a3d5e1660735edc18d331500f7ce9850fbc724
            Log:
            [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to.

            Compare: https://github.com/jenkinsci/jenkins/compare/ee13a9a930ba...a6a3d5e16607

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/Fingerprint.java core/src/main/java/hudson/model/ListView.java core/src/main/java/hudson/model/listeners/ItemListener.java core/src/main/java/hudson/tasks/BuildTrigger.java http://jenkins-ci.org/commit/jenkins/a6a3d5e1660735edc18d331500f7ce9850fbc724 Log: [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. Compare: https://github.com/jenkinsci/jenkins/compare/ee13a9a930ba...a6a3d5e16607
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3795
            [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. (Revision a6a3d5e1660735edc18d331500f7ce9850fbc724)

            Result = SUCCESS
            jesse glick : a6a3d5e1660735edc18d331500f7ce9850fbc724
            Files :

            • core/src/main/java/hudson/tasks/BuildTrigger.java
            • core/src/main/java/hudson/model/listeners/ItemListener.java
            • core/src/main/java/hudson/model/Fingerprint.java
            • core/src/main/java/hudson/model/ListView.java
            • changelog.html
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3795 [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. (Revision a6a3d5e1660735edc18d331500f7ce9850fbc724) Result = SUCCESS jesse glick : a6a3d5e1660735edc18d331500f7ce9850fbc724 Files : core/src/main/java/hudson/tasks/BuildTrigger.java core/src/main/java/hudson/model/listeners/ItemListener.java core/src/main/java/hudson/model/Fingerprint.java core/src/main/java/hudson/model/ListView.java changelog.html

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/Fingerprint.java
            core/src/main/java/hudson/model/ListView.java
            core/src/main/java/hudson/model/listeners/ItemListener.java
            core/src/main/java/hudson/tasks/BuildTrigger.java
            http://jenkins-ci.org/commit/jenkins/8478e24609d407268bd579609bf0ce3ad395a046
            Log:
            [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to.
            (cherry picked from commit a6a3d5e1660735edc18d331500f7ce9850fbc724)

            Conflicts:
            changelog.html

            Compare: https://github.com/jenkinsci/jenkins/compare/be835bfcfb17...8478e24609d4

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/Fingerprint.java core/src/main/java/hudson/model/ListView.java core/src/main/java/hudson/model/listeners/ItemListener.java core/src/main/java/hudson/tasks/BuildTrigger.java http://jenkins-ci.org/commit/jenkins/8478e24609d407268bd579609bf0ce3ad395a046 Log: [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. (cherry picked from commit a6a3d5e1660735edc18d331500f7ce9850fbc724) Conflicts: changelog.html Compare: https://github.com/jenkinsci/jenkins/compare/be835bfcfb17...8478e24609d4
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #4292
            [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. (Revision 8478e24609d407268bd579609bf0ce3ad395a046)

            Result = UNSTABLE
            ogondza : 8478e24609d407268bd579609bf0ce3ad395a046
            Files :

            • core/src/main/java/hudson/tasks/BuildTrigger.java
            • core/src/main/java/hudson/model/ListView.java
            • core/src/main/java/hudson/model/Fingerprint.java
            • core/src/main/java/hudson/model/listeners/ItemListener.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4292 [FIXED JENKINS-25400] Rework fix of JENKINS-22769 (c04cdcd) to put the burden on each listener to impersonate ACL.SYSTEM if it needs to. (Revision 8478e24609d407268bd579609bf0ce3ad395a046) Result = UNSTABLE ogondza : 8478e24609d407268bd579609bf0ce3ad395a046 Files : core/src/main/java/hudson/tasks/BuildTrigger.java core/src/main/java/hudson/model/ListView.java core/src/main/java/hudson/model/Fingerprint.java core/src/main/java/hudson/model/listeners/ItemListener.java

            People

              jglick Jesse Glick
              olivergondza Oliver Gondža
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: