Ivan Kokalovic
34938ca1ef
keycloak_user_rolemapping: handle None response for client role lookup ( #11471 )
...
* fix(keycloak_user_rolemapping): handle None response for client role lookup
When adding a client role to a user who has no existing roles for that
client, get_client_user_rolemapping_by_id() returns None. The existing
code indexed directly into the result causing a TypeError. Add the same
None check that already existed for realm roles since PR #11256 .
Fixes #10960
* fix(tests): use dict format for task vars in keycloak_user_rolemapping tests
Task-level vars requires a YAML mapping, not a sequence. The leading
dash (- roles:) produced a list instead of a dict, which ansible-core
2.20 rejects with "Vars in a Task must be specified as a dictionary".
* Update changelogs/fragments/keycloak-user-rolemapping-client-none-check.yml
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2026-02-18 20:24:35 +01:00
..
2023-03-06 23:02:24 +01:00
2025-06-15 09:13:16 +02:00
2022-10-11 07:34:36 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-10-12 08:48:50 +02:00
2025-06-15 09:13:16 +02:00
2026-01-05 17:59:58 +01:00
2025-06-15 09:13:16 +02:00
2025-08-02 16:33:55 +02:00
2025-04-14 19:04:26 +02:00
2025-06-15 09:13:16 +02:00
2025-07-08 07:18:19 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2022-10-11 07:34:36 +02:00
2023-12-28 08:32:31 +01:00
2022-08-08 08:44:19 +02:00
2022-08-08 08:44:19 +02:00
2022-08-08 08:44:19 +02:00
2022-08-05 14:03:38 +02:00
2025-11-23 08:37:12 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-07-28 06:31:51 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-01-08 09:41:28 +01:00
2026-01-08 09:41:28 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-11-21 18:26:30 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-03-09 16:48:36 +01:00
2025-03-09 16:48:36 +01:00
2023-11-16 21:02:40 +01:00
2023-11-16 21:02:40 +01:00
2025-03-09 16:48:36 +01:00
2026-01-02 09:34:06 +01:00
2025-03-09 16:48:36 +01:00
2025-03-09 16:48:36 +01:00
2025-11-03 06:48:40 +01:00
2026-01-02 09:34:06 +01:00
2025-08-02 16:42:34 +02:00
2026-02-07 18:18:48 +01:00
2024-02-23 20:35:09 +01:00
2026-02-07 18:18:48 +01:00
2023-11-16 21:02:40 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2023-11-16 21:02:40 +01:00
2026-01-02 09:34:06 +01:00
2025-06-07 17:47:22 +02:00
2026-01-22 06:41:49 +01:00
2025-09-08 18:48:49 +02:00
2023-11-16 21:02:40 +01:00
2025-06-07 17:47:22 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2023-03-06 23:02:24 +01:00
2025-06-07 17:47:22 +02:00
2025-06-07 17:47:22 +02:00
2023-03-06 23:02:24 +01:00
2022-10-11 07:34:36 +02:00
2025-06-15 09:13:16 +02:00
2022-08-05 21:08:41 +02:00
2025-06-07 17:47:22 +02:00
2023-03-06 23:02:24 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2023-03-06 23:02:24 +01:00
2025-06-15 09:13:16 +02:00
2023-03-06 23:02:24 +01:00
2025-04-10 07:05:01 +02:00
2025-06-15 09:13:16 +02:00
2023-03-06 23:02:24 +01:00
2023-03-06 23:02:24 +01:00
2025-07-12 12:34:18 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2024-12-31 12:19:55 +13:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2023-04-16 13:06:12 +02:00
2022-08-05 14:03:38 +02:00
2022-08-05 14:03:38 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-03-09 16:48:36 +01:00
2025-06-15 09:13:16 +02:00
2025-06-30 20:46:56 +02:00
2023-03-26 09:31:06 +02:00
2025-06-15 09:13:16 +02:00
2025-11-03 17:58:49 +01:00
2025-06-07 17:47:22 +02:00
2025-06-15 09:13:16 +02:00
2023-10-29 18:04:44 +01:00
2025-06-07 17:47:22 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 16:19:29 +01:00
2025-06-15 09:13:16 +02:00
2026-01-02 09:34:06 +01:00
2026-01-02 09:34:06 +01:00
2026-01-02 09:34:06 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2023-12-28 18:11:32 +01:00
2025-08-04 20:01:05 +02:00
2025-06-18 07:40:46 +02:00
2025-08-04 20:01:50 +02:00
2026-02-18 07:48:37 +01:00
2025-09-18 21:56:39 +02:00
2026-02-06 07:10:55 +01:00
2025-02-15 22:53:23 +13:00
2026-02-18 20:24:35 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-01-26 06:17:23 +01:00
2025-08-10 13:32:35 +02:00
2025-06-15 09:13:16 +02:00
2025-12-28 01:36:24 +13:00
2025-03-09 16:48:36 +01:00
2023-11-16 21:02:40 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-01-02 09:34:06 +01:00
2026-02-07 18:18:48 +01:00
2024-05-11 16:51:51 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-08-27 22:00:44 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2022-08-08 14:24:58 +02:00
2025-12-01 06:58:45 +01:00
2025-12-01 06:58:45 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2022-08-05 21:31:34 +02:00
2022-08-05 21:31:34 +02:00
2022-08-05 21:31:34 +02:00
2022-08-05 21:31:34 +02:00
2022-08-05 21:31:34 +02:00
2022-08-05 21:31:34 +02:00
2026-01-09 07:40:58 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2023-05-07 21:58:38 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-07 17:47:22 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2022-08-05 21:08:41 +02:00
2023-02-15 22:55:23 +01:00
2022-10-11 07:34:36 +02:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2023-02-15 22:55:23 +01:00
2022-11-07 21:04:55 +01:00
2025-06-15 09:13:16 +02:00
2022-11-05 20:44:33 +00:00
2023-10-29 18:04:44 +01:00
2022-10-23 17:18:06 +02:00
2023-02-15 22:55:23 +01:00
2023-02-15 22:55:23 +01:00
2022-11-05 20:43:47 +00:00
2023-02-15 22:55:23 +01:00
2022-11-02 20:11:04 +01:00
2023-10-29 18:04:44 +01:00
2023-02-15 22:55:23 +01:00
2023-10-29 18:04:44 +01:00
2023-02-15 22:55:23 +01:00
2023-10-29 18:04:44 +01:00
2025-06-15 09:13:16 +02:00
2023-10-29 18:04:44 +01:00
2025-06-15 09:13:16 +02:00
2023-10-29 18:04:44 +01:00
2023-10-29 18:04:44 +01:00
2023-02-15 22:55:23 +01:00
2023-02-15 22:55:23 +01:00
2022-08-05 21:31:34 +02:00
2023-10-29 18:04:44 +01:00
2026-02-07 18:18:48 +01:00
2022-10-11 07:34:36 +02:00
2023-05-19 20:25:04 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2023-02-15 22:55:23 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2022-08-05 21:08:41 +02:00
2026-02-07 18:18:48 +01:00
2024-08-10 08:19:58 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2022-08-05 21:31:34 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2024-01-17 23:17:07 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-02-03 10:45:01 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2025-11-03 06:48:40 +01:00
2026-02-07 18:18:48 +01:00
2026-02-10 21:09:02 +13:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-12-28 01:36:24 +13:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2025-06-15 09:13:16 +02:00
2025-06-15 09:13:16 +02:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00
2026-02-07 18:18:48 +01:00