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
fachleitner f0b3bba030
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>
2022-12-05 06:23:00 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02: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) 2022-11-23 07:46:39 +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) 2022-11-23 07:46:39 +01:00
5489-nonetype-in-get-vm-by-label.yml one_vm: fix for 'NoneType' object has no attribute 'split' in get_vm_labels_and_attributes_dict (#5489) 2022-11-08 23:00:05 +01:00
5493-proxmox.yml Add changelog fragment. 2022-11-13 21:06:11 +01:00
5502-xfconf-facts-deprecation.yml xfconf: prune deprecated facts-generation code (#5502) 2022-11-10 21:18:52 +01:00
5506-onepassword_raw-missing-param.yml onepassword_raw - Add missing parameter to doc string (#5511) 2022-11-09 07:28:49 +01:00
5514-fix-logical-flaw-when-deleting-jenkins-build.yml Fix a logical flaw when deleting a build in the jenkins_build module (#5514) 2022-11-10 21:18:01 +01:00
5538-cmd-runner-as-fixed.yml cmd_runner module utils: fix case for as_fixed() format (#5538) 2022-11-16 06:44:40 +01:00
5543-dependent-template.yml dependent lookup: prevent deprecation warning with ansible-core 2.14 (#5543) 2022-11-15 08:12:09 +01:00
5545-gconftool-cmd-runner.yml gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) 2022-11-15 21:02:45 +01:00
5549-lxd-project-sanity.yml lxd_project: refactored os.path.expanduser() to module utils (#5549) 2022-11-15 21:04:29 +01:00
5550-java_certs-not-enough-info-on-error.yml java_certs : Not enough info on error (#5550) 2022-11-28 22:44:24 +01:00
5553-spotinst-aws-elasticgroup-sanity.yml spotinst_aws_elasticgroup: sanity checks (#5553) 2022-11-15 22:37:48 +01:00
5557-udm-share-sanity.yml udm_share: fix sanity checks (#5557) 2022-11-26 18:41:45 +01:00
5559-udm-user-sanity.yml udm_user: sanity (#5559) 2022-11-23 18:43:58 +01:00
5563-rax-scaling-group-sanity.yml rax_scaling_group: fix sanity check (#5563) 2022-11-16 21:58:55 +01:00
5565-jenkins-plugin-sanity.yml jenkins_plugin: fix sanity checks (#5565) 2022-11-17 06:55:46 +01:00
5566-additional-flags-nmap.yml Add additional flags to nmap.py (#5566) 2022-11-17 06:56:21 +01:00
5570-chroot-plugin-fix-default-inventory_hostname.yml chroot plugin fix inventory_hostname var for remote_addr (#5570) 2022-11-17 06:53:46 +01:00
5583-redhat_subscription-subscribe-parameters.yaml redhat_subscription: drop unneeded args to Rhsm.register() (#5583) 2022-11-29 13:07:08 +01:00
5592-redirect-remove-sap-modules.yml Redirect and Remove sap modules (#5592) 2022-11-27 13:59:29 +01:00
5601-unixy-callback-use-config-manager.yml unixy Callback: Use Ansible's config manager (#5601) 2022-11-28 21:51:23 +00:00
5602-proxmox-tags.yml Updated tags delimiter (#5602) 2022-12-04 12:42:46 +01:00
5605-ssh-config-add-host-key-algorithms.yaml feat(ssh_config): host_key_algorithms option (#5605) 2022-12-04 12:57:54 +01:00
5619-keycloak-improvements.yml Fix keycloak_client_rolemapping role removal and diff (#5619) 2022-12-05 06:23:00 +01:00
5627-redhat_subscription-subscribe-parameters-2.yaml redhat_subscription: don't discard vars with key (#5627) 2022-11-30 22:15:55 +01:00
5628-fix-vmadm-off-by-one.yml Fix for vmadm get_vm_uuid out of range (#5628) 2022-11-30 22:41:35 +01:00
5629-add-prepend-hash-option-for-channel-id.yml Remove automatically adding # symbol to channel names (#5629) 2022-12-01 22:17:09 +01:00
5632-vdo-Use-yaml-safe-load-instead-of-yaml-load.yml vdo: Use yaml.safe_load() instead of yaml.load() (#5632) 2022-11-30 22:48:32 +01:00
5640-fix-typo-proxmox-inventory.yml fix typo disable_looups in inventory/proxmox (#5640) 2022-12-02 06:43:22 +01:00
5647-cmd-runner-as-bool-false.yml cmd_runner: allow bool format to pass alternate (false) value (#5647) 2022-12-04 12:18:33 +01:00