Browse Source

Merged in add-authflow-actions-subgroups-fix (pull request #21)

Fix a bug in the subgroup searching

Approved-by: Marcos Pereira <marcospereira.mpj@gmail.com>
hotfix/merge
Martin Devlin 6 years ago
committed by Marcos Pereira
parent
commit
4bb3f8ddd0
  1. 3
      keycloak/keycloak_admin.py

3
keycloak/keycloak_admin.py

@ -413,6 +413,9 @@ class KeycloakAdmin:
if group['path'] == path: if group['path'] == path:
return group return group
elif search_in_subgroups and group["subGroups"]: elif search_in_subgroups and group["subGroups"]:
for group in group["subGroups"]:
if group['path'] == path:
return group
res = self.get_subgroups(group, path) res = self.get_subgroups(group, path)
if res != None: if res != None:
return res return res

Loading…
Cancel
Save