mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 06:53:21 -07:00
[PR #10840/b865bf57 backport][stable-11] Fix keycloak sub-group search (#10846)
Fix keycloak sub-group search (#10840)
* fix bug in missing realm argument when searching for groups
* MR change fragment
* 39+1=40
(cherry picked from commit b865bf5751
)
Co-authored-by: Jakub Danek <danekja@users.noreply.github.com>
This commit is contained in:
parent
657268120c
commit
ff6735f0ce
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- keycloak_group - fixes an issue where module ignores realm when searching subgroups by name (https://github.com/ansible-collections/community.general/pull/10840).
|
|
@ -1671,7 +1671,7 @@ class KeycloakAPI(object):
|
|||
return None
|
||||
|
||||
for p in name_chain[1:]:
|
||||
for sg in self.get_subgroups(tmp):
|
||||
for sg in self.get_subgroups(tmp, realm):
|
||||
pv, is_id = self._get_normed_group_parent(p)
|
||||
|
||||
if is_id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue