mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
keycloak_client_rolemapping.py: add support for subgroups (#6687)
* keycloak_client_rolemapping.py: add support for subgroups * Add PR number after creating a PR to 6687-support-subgroups-for-keycloak-client-rolemapping.yml * Update changelogs/fragments/6687-support-subgroups-for-keycloak-client-rolemapping.yml Add missing URL Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/keycloak_client_rolemapping.py Set a correct version_added (previously it was a copy-paste) Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/keycloak_client_rolemapping.py Fix typo after copy-paste Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/keycloak_client_rolemapping.py Fix typo after copy-paste Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/keycloak_client_rolemapping.py Fix typo after copy-paste Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Mikhail Putilov <Mikhail.Putilov@dimoco.eu> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ccdcf70d69
commit
e06a0e22f7
3 changed files with 62 additions and 2 deletions
|
@ -120,6 +120,11 @@ class TestKeycloakRealm(ModuleTestCase):
|
|||
'state': 'present',
|
||||
'client_id': 'test_client',
|
||||
'group_name': 'test_group',
|
||||
'parents': [
|
||||
{
|
||||
'name': 'parent_group'
|
||||
}
|
||||
],
|
||||
'roles': [
|
||||
{
|
||||
'name': 'test_role1',
|
||||
|
@ -139,7 +144,7 @@ class TestKeycloakRealm(ModuleTestCase):
|
|||
"clientRoles": "{}",
|
||||
"id": "92f2400e-0ecb-4185-8950-12dcef616c2b",
|
||||
"name": "test_group",
|
||||
"path": "/test_group",
|
||||
"path": "/parent_group/test_group",
|
||||
"realmRoles": "[]",
|
||||
"subGroups": "[]"
|
||||
}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue