[General] Data and account security

Aperta
#508 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

This spans backend/src/modules/auth/, backend/src/modules/organization/, and frontend/src/pages/. Before starting, resolve with the client what email-based 2FA means for magic-link login and update the issue; it is blocked by #514. Then review the prototype and acceptance criteria; done means the listed security, account deletion, backup, and change-history requirements are met.

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

Descrizione

back-end enhancement :rocket: needs-info vic-2.0 web-app

Context

Account security:

  • 2FA by email, on by default (not optional);
  • change email address.

VIC 2.0 login is magic link + social login only (no passwords), so there is no "change password" option. Open question: with magic link login, confirm what 2FA means in practice (e.g. second factor only for admins, or on sensitive actions).

Data:

  • full backup;
  • change history.

Danger zone:

  • delete the NGO account: permanently deletes the organization and all its data. This is a single, irreversible action; there is no separate "delete history" option.

Not needed here: exporting volunteer data, since the Volunteers section already has it.

Design

Prototype: https://perch-pic-08148752.figma.site/ → Setări > Date și securitate. The prototype is indicative; this issue's text wins where they differ.

Acceptance criteria

  • 2FA by email is on for all NGO accounts and cannot be turned off.
  • Admin can change their email after confirming the new address.
  • Deleting the NGO account deletes the organization and all its data after a typed confirmation; VIC team is notified.
  • Full backup and change history are available to the admin.

Dependencies

Phase 2. Blocked by #514.

Where to look

  • backend/src/modules/auth/
  • backend/src/modules/organization/
  • frontend/src/pages/

Before starting

Resolve the open question above with the client and update this issue first.

Lingua principale
TypeScript
Stelle
3
Fork
2
Merge medio
18m
PR unite (30g)
118

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 code4romania/vic

Tutte le issue di code4romania/vic

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.