KEYCLOAK-8783 also checked admin roles when realm admin client is specified
This commit is contained in:
parent
9f88abb022
commit
39bf08e1b9
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ public class RealmManager {
|
||||||
setupMasterAdminManagement(realm);
|
setupMasterAdminManagement(realm);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rep.getRoles() != null) {
|
if (rep.getRoles() != null || hasRealmAdminManagementClient(rep)) {
|
||||||
// Assert all admin roles are available once import took place. This is needed due to import from previous version where JSON file may not contain all admin roles
|
// Assert all admin roles are available once import took place. This is needed due to import from previous version where JSON file may not contain all admin roles
|
||||||
checkMasterAdminManagementRoles(realm);
|
checkMasterAdminManagementRoles(realm);
|
||||||
checkRealmAdminManagementRoles(realm);
|
checkRealmAdminManagementRoles(realm);
|
||||||
|
|
Loading…
Reference in a new issue