Skip to content

Feature: fix/email-lookup-case to dev - #617

Merged
aamoghS merged 1 commit into
devfrom
fix/email-lookup-case
Nov 14, 2026
Merged

aamoghS merged 1 commit into
devfrom
fix/email-lookup-case

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Automated PR tracking changes from fix/email-lookup-case into dev.


Note

Low Risk
Narrow query-shape changes on existing admin/scanner paths; behavior is more permissive (finds users that were previously missed) with index-backed lookups.

Overview
Staff flows that resolve users by email now compare with lower() on the stored address as well as the input, instead of assuming every users.email row is already lowercased.

This updates admin findUserByEmail, events manualCheckIn, and hackathon bans list enrichment so mixed-case legacy accounts still match; comments point at user_email_lower_unique_idx for query support.

Reviewed by Cursor Bugbot for commit dcd1a9b. Bugbot is set up for automated code reviews on this repo. Configure here.

The admin grant, manual check-in by email and the ban list lowercased the
typed address and matched it exactly, assuming every row was stored
lowercase. Three production users are not, so they could not be found by
email. Match on lower(email), which the new case-insensitive unique index
serves.
@github-actions
github-actions Bot requested a review from aamoghS as a code owner November 14, 2026 23:18
@aamoghS aamoghS closed this Nov 14, 2026
@aamoghS aamoghS reopened this Nov 14, 2026
@github-actions github-actions Bot added the bug Something isn't working label Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor Author

Visit the preview URL for this PR (updated for commit dcd1a9b):

https://hacklyticss2026--pr-617-l9ghyrz7.web.app

(expires Sat, 21 Nov 2026 23:21:09 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 5d238be33273095766c18a8339b7b0c47de8a950

@github-actions

Copy link
Copy Markdown
Contributor Author

Visit the preview URL for this PR (updated for commit dcd1a9b):

https://hacklytics2027--pr-617-9a8ij23m.web.app

(expires Sat, 21 Nov 2026 23:21:19 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c48ba34db61581e25fe2978355160b5eefe0e83f

@aamoghS
aamoghS merged commit 8f2af03 into dev Nov 14, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant