Skip to content

feat(organizer): user lookup for check-in team (#101) - #110

Merged
manoahLinks merged 1 commit into
mainfrom
feat/organizer-functions
Jul 28, 2026
Merged

feat(organizer): user lookup for check-in team (#101)#110
manoahLinks merged 1 commit into
mainfrom
feat/organizer-functions

Conversation

@manoahLinks

Copy link
Copy Markdown
Contributor

Unblocks the mobile Check-in team screen: add-ticket-admins takes userIds, but organizers only know a teammate's email and there was no way to resolve email → userId.

GET /organizer/users/lookup (JWT + ORGANIZER, no event ownership):

  • ?email= : exact, case-insensitive, trimmed → { id, name, email } or 404
  • ?q= : prefix/substring across email + name, min 2 chars, max 10
    results → list, for type-ahead
    Returns only id/name/email — no wallets, phone, or role.

Mounted on the organizer controller to reuse the ticket-admins guard.

Ref #101

Unblocks the mobile Check-in team screen: add-ticket-admins takes
userIds, but organizers only know a teammate's email and there was no
way to resolve email → userId.

GET /organizer/users/lookup (JWT + ORGANIZER, no event ownership):
- ?email= : exact, case-insensitive, trimmed → { id, name, email } or 404
- ?q=     : prefix/substring across email + name, min 2 chars, max 10
            results → list, for type-ahead
Returns only id/name/email — no wallets, phone, or role.

Mounted on the organizer controller to reuse the ticket-admins guard.

Ref #101
@manoahLinks
manoahLinks merged commit bd12b37 into main Jul 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant