Skip to content

Commit

Permalink
made external group emails lowercase (#3410)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen-danswer authored Dec 10, 2024
1 parent 1f2b7cb commit 6d6e121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/ee/danswer/db/external_perm.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def replace_user__ext_group_for_cc_pair(
new_external_permissions = []
for external_group in group_defs:
for user_email in external_group.user_emails:
user_id = email_id_map.get(user_email)
user_id = email_id_map.get(user_email.lower())
if user_id is None:
logger.warning(
f"User in group {external_group.id}"
Expand Down

0 comments on commit 6d6e121

Please sign in to comment.