Browse Source

Fix a bug in the subgroup searching

hotfix/merge
Martin Devlin 6 years ago
parent
commit
6204bf92b0
  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