KEYCLOAK-2176

User added by add-user script doesn't have access to account management
This commit is contained in:
Stian Thorgersen 2015-12-01 15:13:09 +01:00
parent 8064c88e3c
commit e01c789a93

View file

@ -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" };
}
}