Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Not A Defect
-
Component/s: core
-
Similar Issues:
Description
Not sure if this is actually a bug or not. AbstractProject.doConfigSubmit modifies the publishersList of an upstream project regardless of your permissions on that project. I would expect that you would need to have CONFIGURE permission on it. Not clear that there is a specific security threat from adding a BuildTrigger to an arbitrary project, but it will at a minimum result in a config.xml change from an unauthorized user, which might raise eyebrows.
BuildTrigger.DescriptorImpl.doCheck also ought to issue an error if you have no CONFIGURE permission. doAutoCompleteUpstreamProjects can probably be left alone - complete everything we can see but show an error if you cannot really touch it.
Also doCheck neglects to check AbstractProject.isConfigurable as doConfigSubmit does.
Attachments
Issue Links
- is related to
-
JENKINS-13502 Editing any job removes inaccessible downstream jobs from all accessible jobs
-
- Resolved
-
-
JENKINS-16956 Require authentication for build triggers
-
- Resolved
-
-
JENKINS-14411 Build Flow jobs display “Post-build Actions” which are never saved
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is related to |
Link |
This issue is related to |
Resolution | Not A Defect [ 7 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Link |
This issue is related to |
Workflow | JNJira [ 145711 ] | JNJira + In-Review [ 191593 ] |
Not a bug as such, but
JENKINS-16956discusses better ideas.