NIHVIVO-2855 If editing the root user account, don't allow an ExternalAuthID, or the flag of ExternalAuthOnly.

This commit is contained in:
j2blake 2012-03-06 21:59:48 +00:00
parent ca844e91a2
commit 7da535e70a
2 changed files with 6 additions and 2 deletions

View file

@ -237,6 +237,7 @@ public class UserAccountsEditPage extends UserAccountsPage {
if (!isRootUser()) {
body.put("roles", buildListOfSelectableRoles());
body.put("externalAuthPermitted", Boolean.TRUE);
}
body.put("profileTypes", buildProfileTypesList());