NIHVIVO-2855 If editing the root user account, don't allow an ExternalAuthID, or the flag of ExternalAuthOnly.
This commit is contained in:
parent
ca844e91a2
commit
7da535e70a
2 changed files with 6 additions and 2 deletions
|
@ -237,6 +237,7 @@ public class UserAccountsEditPage extends UserAccountsPage {
|
|||
|
||||
if (!isRootUser()) {
|
||||
body.put("roles", buildListOfSelectableRoles());
|
||||
body.put("externalAuthPermitted", Boolean.TRUE);
|
||||
}
|
||||
|
||||
body.put("profileTypes", buildProfileTypesList());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue