ansible-collections / community.general

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

Support for more validators in the keycloak_userprofile module. #9048

Open mkay-sh opened 3 days ago

mkay-sh commented 3 days ago

Summary

I'm trying to configure the userprofile in keycloak. The validation of the module only allows predefined values, but there are other validators available in our instance. Additionally keycloak extensions could provide more validators. The list should not be static but either allow all values or fetch the available list of validation providers from the server.

Issue Type

Feature Idea

Component Name

community.general.keycloak_userprofile

Additional Information

community.general.keycloak_userprofile:
    state: present
    config:
      kc_user_profile_config:
        - attributes:
          - name: firstName
            displayName: ${firstName}
            validations:
              length:
                max: 255
              person_name_prohibited_characters: {}
              local_date: {}

Code of Conduct

ansibullbot commented 3 days 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 3 days ago

cc @eikef @mattock @ndclt @thomasbach-dev @yeoldegrove click here for bot help