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

Downstream job connections lost when using per-project read permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • 1.341-SNAPSHOT

      hudson.model.DependencyGraph uses Hudson.getAllItems to find the projects to use in building the graph.. this method filters the results by Item.READ permission, so if it is run by a non-admin it may not actually look at all projects to build the dependency graph! Thus if a Hudson uses per-project read permissions and someone who can't see all jobs saves a job config, the graph is rebuilt with projects missing. If those missing projects now get built then the downstream jobs are not triggered. The job pages for those projects also don't show the upstream/downstream job links until the dependency graph is rebuilt correctly (a job config saved by an admin user).

            mindless Alan Harder
            mindless Alan Harder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: