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

Add admin-invite management (track, revoke, resend)

Aperta
#911 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Start by reading the existing participant invitation flow in ParticipantsController and the Invite model, then trace POST /users (createUser) and its password-reset invitation flow. The issue calls for choosing how to represent deployment-level and study-scoped admin invites, then adding admin-client management to list, revoke, and resend them. Done means pending invitations can be tracked and managed, including identifying admins who have not completed setup.

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

Descrizione

admin-client backend enhancement

Follow-up to #890.

Currently admins are onboarded via the password reset flow rather than the Invite table. When POST /users (createUser) runs, the backend generates a random password, creates the User row, and sends the invited admin a reset link with adminInvite: true. The admin sets their real password via that link and the token is marked used.

Because the Invite table is bypassed entirely, OrgAdmins have no way to view pending admin invitations, revoke or resend them, or see which admins haven't completed setup. All of that functionality exists for participants via ParticipantsController.

Per @ignatiusm's comment in #890, this looks like a shortcut from when the feature was first built. Making admin invites first-class (tracked, revocable, resendable) would be worth doing.

Considerations

  • Deployment-level admin invites (OrgAdmins invited to the platform)
  • Study-scoped admin invites (StudyAdmins for specific studies)
  • The current Invite model has a required studyId, so it's participant-focused. Would need to either generalise the model or add a parallel AdminInvite table.
  • New admin-client UI to list, revoke, and resend admin invites.
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.