1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] 671f850069
[PR #5619/f0b3bba0 backport][stable-6] Fix keycloak_client_rolemapping role removal and diff (#5656)
Fix keycloak_client_rolemapping role removal and diff (#5619)

* Keycloak: Fix client rolemapping removal

Keycloak's delete_group_rolemapping API wrapper didn't pass data about
the roles to remove to keycloak, resulting in removal of all roles.

Follow the intended behaviour and delete only the roles listed in the
module invocation.

Signed-off-by: Florian Achleitner <flo@fopen.at>

* Keycloak: Fix client_rolemapping diff

The module's diff output wrongly showed the changed roles list as
'after' state. This is obviously wrong for role removal and also
wrong for role addition, if there are other roles assigned.

Use the result of the API query for 'end_state' for 'diff' as well.

Signed-off-by: Florian Achleitner <flo@fopen.at>

* Keycloak: Calculate client_rolemapping proposed state properly

Signed-off-by: Florian Achleitner <flo@fopen.at>

* Add changelog fragment

Signed-off-by: Florian Achleitner <flo@fopen.at>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>

* Fix for python2 unit test

Signed-off-by: Florian Achleitner <flo@fopen.at>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit f0b3bba030)

Co-authored-by: fachleitner <flo@fopen.at>
2022-12-05 05:47:11 +00:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
6.1.0.yml Prepare 6.1.0 release. 2022-12-04 21:44:59 +01:00
3910-redfish-add-operation-apply-time-to-simple-update.yml Redfish: Expanded SimpleUpdate command to allow for users to monitor the progress of an update and perform follow-up operations (#5580) (#5590) 2022-11-23 08:03:19 +01:00
4276-redfish-command-updates-for-full-simple-update-workflow.yml Redfish: Expanded SimpleUpdate command to allow for users to monitor the progress of an update and perform follow-up operations (#5580) (#5590) 2022-11-23 08:03:19 +01:00
5538-cmd-runner-as-fixed.yml cmd_runner module utils: fix case for as_fixed() format (#5538) (#5562) 2022-11-16 06:58:30 +01:00
5545-gconftool-cmd-runner.yml gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) (#5551) 2022-11-23 07:37:27 +01:00
5549-lxd-project-sanity.yml lxd_project: refactored os.path.expanduser() to module utils (#5549) (#5552) 2022-11-23 07:37:36 +01:00
5550-java_certs-not-enough-info-on-error.yml java_certs : Not enough info on error (#5550) (#5623) 2022-11-29 07:40:11 +01:00
5553-spotinst-aws-elasticgroup-sanity.yml spotinst_aws_elasticgroup: sanity checks (#5553) (#5554) 2022-11-16 05:35:56 +00:00
5557-udm-share-sanity.yml udm_share: fix sanity checks (#5557) (#5609) 2022-11-26 18:58:09 +01:00
5559-udm-user-sanity.yml udm_user: sanity (#5559) (#5593) 2022-11-23 18:58:37 +01:00
5563-rax-scaling-group-sanity.yml rax_scaling_group: fix sanity check (#5563) (#5569) 2022-11-23 07:37:12 +01:00
5565-jenkins-plugin-sanity.yml jenkins_plugin: fix sanity checks (#5565) (#5575) 2022-11-23 07:37:52 +01:00
5566-additional-flags-nmap.yml Add additional flags to nmap.py (#5566) (#5576) 2022-11-23 07:37:59 +01:00
5570-chroot-plugin-fix-default-inventory_hostname.yml chroot plugin fix inventory_hostname var for remote_addr (#5570) (#5573) 2022-11-17 07:30:00 +01:00
5583-redhat_subscription-subscribe-parameters.yaml redhat_subscription: drop unneeded args to Rhsm.register() (#5583) (#5626) 2022-11-29 13:20:30 +01:00
5601-unixy-callback-use-config-manager.yml unixy Callback: Use Ansible's config manager (#5601) (#5625) 2022-11-29 08:01:09 +01:00
5602-proxmox-tags.yml [PR #5602/632fc07e backport][stable-6] Updated tags delimiter (#5652) 2022-12-04 12:57:24 +01:00
5605-ssh-config-add-host-key-algorithms.yaml [PR #5605/fb2833d3 backport][stable-6] feat(ssh_config): host_key_algorithms option (#5653) 2022-12-04 13:10:32 +01:00
5619-keycloak-improvements.yml [PR #5619/f0b3bba0 backport][stable-6] Fix keycloak_client_rolemapping role removal and diff (#5656) 2022-12-05 05:47:11 +00:00
5627-redhat_subscription-subscribe-parameters-2.yaml redhat_subscription: don't discard vars with key (#5627) (#5633) 2022-11-30 22:30:49 +01:00
5628-fix-vmadm-off-by-one.yml Fix for vmadm get_vm_uuid out of range (#5628) (#5635) 2022-11-30 22:56:03 +01:00
5629-add-prepend-hash-option-for-channel-id.yml [PR #5629/03039a56 backport][stable-6] Remove automatically adding # symbol to channel names (#5641) 2022-12-01 22:48:44 +01:00
5632-vdo-Use-yaml-safe-load-instead-of-yaml-load.yml vdo: Use yaml.safe_load() instead of yaml.load() (#5632) (#5637) 2022-11-30 22:55:52 +01:00
5640-fix-typo-proxmox-inventory.yml [PR #5640/fd436bdb backport][stable-6] fix typo disable_looups in inventory/proxmox (#5644) 2022-12-02 06:59:43 +01:00
5647-cmd-runner-as-bool-false.yml [PR #5647/be22ca06 backport][stable-6] cmd_runner: allow bool format to pass alternate (false) value (#5650) 2022-12-04 12:39:30 +01:00
sap-removal.yml Announce removal of sap modules. (#5614) 2022-11-29 10:05:23 +00:00