Code changed in jenkins
User: Stephen Connolly
Path:
core/src/main/java/hudson/model/Queue.java
http://jenkins-ci.org/commit/jenkins/cf1fdf98e435b4c7df54f1a8e958d185f1a0f3d2
Log:
[FIXED JENKINS-31649] Check should be against AccessControlled and Permission.READ
- The previous check was to narrow.
- We now check on AccessControlled (which is implemented by Item)
- We now also check on Permission.READ (which is the generic read permission)
This should allow subtasks who's task may not be an Item to at least implement AccessControlled to alow visibility.
There remains an open question as to whether tasks that are not AccessControlled should ever be visible in the UI
https://github.com/jenkinsci/jenkins/pull/1919