ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
822 stars 1.52k forks source link

Allow Keycloak role-mapping: mapping realm roles to groups #7189

Open canon-aris-van-dijk opened 1 year ago

canon-aris-van-dijk commented 1 year ago

Summary

There is currently a Keycloak client role mapping module, but not a Keycloak realm role mapping module to map realm roles to groups.

It would be great if realm roles could be assigned to groups too. This could be a variant of community.general.keycloak_client_rolemapping.

Alternatively, it could be a feature of the community.general.keycloak_group module that already has a note:

Presently, the end_state.realmRoles, end_state.clientRoles, and end_state.access attributes returned by the Keycloak API are read-only for groups. This limitation will be removed in a later version of this module.

Issue Type

Feature Idea

Component Name

keycloak_client_rolemapping

Additional Information

Code of Conduct

ansibullbot commented 1 year ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 1 year ago

cc @Gaetan2907 @eikef @mattock @ndclt click here for bot help

ansibullbot commented 2 months ago

cc @thomasbach-dev click here for bot help