Skip to content

Commit

Permalink
Ticket 28 - UIDs with capital letters
Browse files Browse the repository at this point in the history
  • Loading branch information
cullerton committed May 24, 2024
1 parent 7301b81 commit 4a918c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crc/services/study_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ def update_study_associate(study_id=None, uid=None, role="", send_email=False, a
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 "
Expand Down

0 comments on commit 4a918c9

Please sign in to comment.