Merge pull request #1914 from stianst/KEYCLOAK-2176

KEYCLOAK-2176
This commit is contained in:
Stian Thorgersen 2015-12-01 16:37:56 +01:00
commit b3f0dc7399

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