提交 f10090e2 编写于 作者: K kohsuke

[FIXED HDUSON-1648]

A debug code crept in. When Hudson's own user database is used, every user got the "admin" role.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9616 71c3de6d-444a-0410-be80-ed276b4c234a
上级 704343f5
......@@ -106,7 +106,7 @@ public class HudsonPrivateSecurityRealm extends SecurityRealm {
}
// TODO
private static final GrantedAuthority[] TEST_AUTHORITY = {new GrantedAuthorityImpl("authenticated"),new GrantedAuthorityImpl("admin")};
private static final GrantedAuthority[] TEST_AUTHORITY = {new GrantedAuthorityImpl("authenticated")};
public static final class SignupInfo {
public String username,password1,password2,fullname,email,captcha;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册