KEYCLOAK-2176
User added by add-user script doesn't have access to account management
This commit is contained in:
parent
8064c88e3c
commit
e01c789a93
1 changed files with 2 additions and 2 deletions
|
@ -154,9 +154,9 @@ public class AddUser {
|
|||
roles = rolesString.split(",");
|
||||
} else {
|
||||
if (realmName.equals("master")) {
|
||||
roles = new String[] { "admin" };
|
||||
roles = new String[] { "admin", "account/manage-account" };
|
||||
} else {
|
||||
roles = new String[] { "realm-management/realm-admin" };
|
||||
roles = new String[] { "realm-management/realm-admin", "account/manage-account" };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue