8000 Importing realm via Keycloak Operator does not give users the default realm roles · keycloak keycloak · Discussion #44782 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote
10000

I belive the the import / export logic was generally developed to function as a pair. So import logic nominally expects an export - meaning it mostly needs explicit, not implicit defaults.

The false values in this call

UserModel user = UserStoragePrivateUtil.userLocalStorage(session).addUser(newRealm, userRep.getId(), userRep.getUsername(), false, false);
mean that defaults will not used.

Since this behavior isn't explicitly documented, feel free to open an enhancement request that references this discussion. It will take even more discussion tho…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bartvanb
Comment options

@shawkins
Comment options

Answer selected by vmuzikar
@bartvanb
Comment options

@shawkins
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/bug Categorizes a PR related to a bug area/import-export Realm import and export — JSON files, partial import, CLI import status/triage team/core-shared
2 participants
Converted from issue

This discussion was converted from issue #44778 on December 09, 2025 13:05.

0