[General] Data and account security

Abierto
#508 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
3
Forks
2
Merge medio
18 min
PR fusionados (30 d)
118

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de code4romania/vic

Todos los issues de code4romania/vic

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.