Make sure we check AS groups for lookup on bulk

This commit is contained in:
Luke Barnard 2017-11-16 17:55:15 +00:00
parent b1edf26051
commit 5b48eec4a1

View File

@ -421,4 +421,9 @@ class GroupsLocalHandler(object):
uid
)
# Check AS associated groups for this user - this depends on the
# RegExps in the AS registration file (under `users`)
for app_service in self.store.get_app_services():
results[uid].extend(app_service.get_groups_for_user(uid))
defer.returnValue({"users": results})