}
public boolean match(CaseInsensitiveString user, CaseInsensitiveString role) {
return securityConfig.isUserMemberOfRole(user, role);
}
}
<BUG>private List<Role> rolesForUser(final CaseInsensitiveString user) {
SecurityConfig securityConfig = this.goConfigService.security();
return securityConfig.getRoles().memberRoles(new AdminUser(user));</BUG>
}
<BUG>}</BUG>

}
public List<String> modifiableGroupsForUser(Username userName) {
if (isUserAdmin(userName)) {
return goConfigService.allGroups();
}
