提交 078ccd37 编写于 作者: K Kohsuke Kawaguchi

Merge branch 'rc'

......@@ -74,6 +74,9 @@ Upcoming changes</a>
<div id="rc" style="display:none;"><!--=BEGIN=-->
<h3><a name=v1.462>What's new in 1.462</a> <!--=DATE=--></h3>
<ul class=image>
<li class=bug>
API token authentication was broken in 1.461
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-13600">issue 13600</a>)
<li class=rfe>
Added the filter textbox to the update center selector.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-13476">issue 13476</a>)
......
......@@ -130,7 +130,7 @@ public abstract class ACL {
*/
public static SecurityContext impersonate(Authentication auth) {
SecurityContext old = SecurityContextHolder.getContext();
SecurityContextHolder.setContext(new NotSerilizableSecurityContext(ACL.SYSTEM));
SecurityContextHolder.setContext(new NotSerilizableSecurityContext(auth));
return old;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册