[General] Data and account security

オープン
#508 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
3
フォーク
2
平均マージ
18分
マージ済み PR(30日)
118

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

code4romania/vic のほかの issue

code4romania/vic の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。