提交 3b4b6475 编写于 作者: J Jesse Glick

@since, changelog for User.getAuthorities.

上级 b6ea88a0
......@@ -55,6 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=rfe>
Display authorities at <code>/user/*</code> for convenience.
(<a href="https://github.com/jenkinsci/jenkins/pull/577">pull 577</a>)
<li class=bug>
Harmless but noisy exception running builds on some Windows systems in non-English locale.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15316">issue 15316</a>)
......
......@@ -630,7 +630,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* Checks for authorities (groups) associated with this user.
* If the caller lacks {@link Jenkins#ADMINISTER}, or any problems arise, returns an empty list.
* {@link SecurityRealm#AUTHENTICATED_AUTHORITY} and the username, if present, are omitted.
* @since XXX
* @since 1.488
* @return a possibly empty list
*/
public @Nonnull List<String> getAuthorities() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册