no permission check for listing possible trend chart types
@@ -167,11 +167,8 @@ public abstract class AnalysisStepDescriptor extends StepDescriptor {
*/
@POST
public ListBoxModel doFillTrendChartTypeItems(@AncestorInPath final AbstractProject<?, ?> project) {
- if (JENKINS.hasPermission(Item.CONFIGURE, project)) {
return model.getAllTrendChartTypes();
}
- return new ListBoxModel();
- }
/**
* Performs on-the-fly validation of the ID.
