[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
This commit is contained in:
kohsuke committed 2008-05-23 21:19:44 +00:00
1 parent 704343f57e
commit f10090e2b8
1 file changed
+1 -1
@@ -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;