Merge branch 'security-stable-2.32' into security-stable-2.46

This commit is contained in:
Jesse Glick committed 2017-04-13 14:05:53 -04:00
commit c0c6a9798c
25 files changed
+430 -16

No files matched your search

@@ -1297,6 +1297,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
return hudson.util.HttpResponses.okJSON(response);
}
@RequirePOST
public HttpResponse doUpdateSources(StaplerRequest req) throws IOException {
Jenkins.getInstance().checkPermission(CONFIGURE_UPDATECENTER);
@@ -1331,6 +1332,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
/**
* Performs the installation of the plugins.
*/
@RequirePOST
public void doInstall(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
Jenkins.getInstance().checkPermission(Jenkins.ADMINISTER);
Set<String> plugins = new LinkedHashSet<>();