diff --git a/apps/users/signal_handlers.py b/apps/users/signal_handlers.py index 91445f799..b8fb37085 100644 --- a/apps/users/signal_handlers.py +++ b/apps/users/signal_handlers.py @@ -247,6 +247,9 @@ def bind_user_to_org_role(user): def bind_user_to_group(org_ids, group_names, user): + if isinstance(group_names, str): + group_names = [group_names] + if not isinstance(group_names, list): return