stephen-bracken commented on code in PR #76702: URL: https://github.com/apache/airflow/pull/76702#discussion_r4567870269
########## providers/keycloak/src/airflow/providers/keycloak/auth_manager/cli/commands.py: ########## @@ -258,14 +261,14 @@ def _ensure_multi_team_enabled(*, teams: list[str], command_name: str) -> None: def _ensure_default_role_policies(client: KeycloakAdmin, client_uuid: str, *, _dry_run: bool = False) -> None: - for role_name in (*TEAM_ROLE_NAMES, SUPER_ADMIN_ROLE_NAME): + for role_name in (*TEAM_ROLE_NAMES, READ_ONLY_ROLE_NAME, SUPER_ADMIN_ROLE_NAME): Review Comment: I think the Keycloak Client needs to be created with the roles beforehand, the cli tool doesn't create them for you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
