Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-72317] Use Jenkins.READ permission check for all list box models #1621

Merged
merged 4 commits into from
Nov 15, 2023

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Nov 14, 2023

Additionally, use permissions for a BuildableItem in all validations.

See https://issues.jenkins.io/browse/JENKINS-72317 for details.

Additionally, use permissions for a `BuildableItem` in all validations.
@uhafner uhafner added the bug Bugs or performance problems label Nov 14, 2023
@@ -281,9 +280,9 @@
* @return the validation result
*/
@POST
public FormValidation doCheckReportEncoding(@AncestorInPath final AbstractProject<?, ?> project,
public FormValidation doCheckReportEncoding(@AncestorInPath final BuildableItem project,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'project' is never used.
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (a34142a) 81.80% compared to head (b8617a2) 81.72%.
Report is 6 commits behind head on master.

Files Patch % Lines
...plugins/analysis/warnings/groovy/GroovyParser.java 41.17% 10 Missing ⚠️
...lugins/analysis/core/model/ReportScanningTool.java 0.00% 2 Missing ⚠️
...ns/analysis/core/steps/AnalysisStepDescriptor.java 0.00% 2 Missing ⚠️
...ns/plugins/analysis/core/steps/IssuesRecorder.java 0.00% 2 Missing ⚠️
...enkins/plugins/analysis/core/util/QualityGate.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1621      +/-   ##
============================================
- Coverage     81.80%   81.72%   -0.08%     
- Complexity     1407     1409       +2     
============================================
  Files           249      249              
  Lines          5353     5357       +4     
  Branches        397      397              
============================================
- Hits           4379     4378       -1     
- Misses          856      865       +9     
+ Partials        118      114       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uhafner uhafner merged commit e17302c into master Nov 15, 2023
@uhafner uhafner deleted the permissions-listbox branch November 15, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs or performance problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant