From 4a918c9b4a6e19a68dd0f74842ccd688028bac09 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Fri, 24 May 2024 15:54:18 -0400 Subject: [PATCH] Ticket 28 - UIDs with capital letters --- crc/services/study_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/services/study_service.py b/crc/services/study_service.py index 1e33ff57..febd01b3 100755 --- a/crc/services/study_service.py +++ b/crc/services/study_service.py @@ -265,6 +265,7 @@ class StudyService(object): if uid is None: raise ApiError('uid not specified', "This function requires a uva uid parameter") + uid = uid.lower() if not LdapService.user_exists(uid): raise ApiError('trying_to_grant_access_to_user_not_found_in_ldap', "You are trying to grant access to " "%s but they were not found in ldap "