codeforjapan / hackdays

Next version of Social Hackday website.
hackdays-c4j.vercel.app
6 stars 0 forks source link

[Story] delete users #12

Open halsk opened 2 years ago

halsk commented 2 years ago

Goal:

As a registered user, I want to delete my account so that I can quit using this website.

This issue is related to #5

Tasks:

  1. Consider how we handle the projects and activities associated with the deleting user.
  2. Implements the features

Acceptance Criteria:

NEKOYASAN commented 2 years ago

I think there are three patterns of processing when deleting users in Projects and Activities.

  1. Delete all projects and activities related to that user. (≒ physical deletion)
  2. Replace the user name with a unique name, such as a user ID, and retain the projects and activities associated with the deleted user.
  3. Projects associated with a user will be transferred to another user or deleted, and activities will be displayed as deleted or deleted users. (Require that there are no projects associated with the user when deleting.)
MaySoMusician commented 2 years ago

We can force the project owners to transfer the ownerships of their projects to someone before they request to delete their account. Discord takes the same approach, where the users are unable to delete their accounts unless they transfer all of the server ownerships to the others (or delete the servers first).