Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Participant registration lets the participant set their own externalId

Aperta Adatta ai principianti
#969 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, security

Direzione di ricerca

Parti dall’handler POST /auth/register/participants/{inviteId} e segui registerParticipant fino al tipo RegisterParticipantRequest e alla gestione dei dati precompilati dell’invito. Consulta le issue correlate #497, #602 e #952 per il contesto. Il lavoro è completato quando la richiesta non può impostare externalId, il valore salvato proviene solo dai dati precompilati dell’invito e i test di registrazione coprono questo comportamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend bug

POST /auth/register/participants/{inviteId} accepts externalId in the body. When the invite's prefill carries no external ID, registerParticipant keeps the participant's own value and saves it on their study record. The registration form never sends this field, so it takes a hand-made request, but the server doesn't stop it.

External ID is the study's own identifier for a participant, used to map CTRL participants to the study's records (#497, #602). A participant can pick any value, including one that already belongs to someone else, because external IDs don't have to be unique (#952). Their consent could then be matched to the wrong person's records.

Fix: remove externalId from RegisterParticipantRequest and take it only from the invite's prefill.

Related: #497, #602, #952.

Lingua principale
TypeScript
Stelle
4
Fork
0
Merge medio
14h 50m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Garvan-Data-Science-Platform/ctrl

Tutte le issue di Garvan-Data-Science-Platform/ctrl

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.