Skip to content

Commit

Permalink
forgot to revert another 'groups' attribute access
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrik committed Apr 12, 2024
1 parent 5e550fe commit 175af8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_mgmt/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def get_admin_institutions(self):
val = group.split('/')
insts[val[2]].append(val[3])
else:
admin_groups = [g[:-7] for g in self.auth_data.get('groups', []) if g.endswith('/_admin')]
admin_groups = [g[:-7] for g in self.auth_data['groups'] if g.endswith('/_admin')]
insts = defaultdict(list)
for group in admin_groups:
val = group.strip('/').split('/')
Expand Down

0 comments on commit 175af8e

Please sign in to comment.