Skip to content
Snippets Groups Projects
Commit 4e837485 authored by Luke Barnard's avatar Luke Barnard
Browse files

Document get_groups_for_user

parent 270f9cd2
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,12 @@ class ApplicationService(object):
def get_groups_for_user(self, user_id):
"""Get the groups that this user is associated with by this AS
Args:
user_id (str): The ID of the user.
Returns:
iterable[str]: an iterable that yields group_id strings.
"""
return (
regex_obj["group_id"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment