Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Email stays associated with deleted user account #873

Open
TanyaStere42 opened this issue Jul 21, 2023 · 0 comments
Open

Email stays associated with deleted user account #873

TanyaStere42 opened this issue Jul 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@TanyaStere42
Copy link
Member

Context
Because of connections between user accounts, we need to maintain user's data access when an account is deleted. However, we should not maintain the email account in the database.

Expected Behavior
Inactive users are maintained for data connection history, but are no longer locked to a specific email account

Current Behavior
Creating a user with the same email address as a deleted user autopopulates their username with "inactivated user"

Example: Created an account in QA server and set up profile. Logged into admin account and deleted the new user. When I created a new account with the deleted email address, I wasn't prompted to set a name and accept the user agreement. I was taken to my profile page where it showed my name as Inactivated User.
Image

I uploaded a sighting and deleted the user. The sighting remains in the system.

Image

Following the link to the inactivated user's page from the sighting leads here:

Image

Restoring the account also restores the previously submitted sightings. I manually updated the account name to test if it would link back to the original uploader.

Image

QA Verification

  1. Create user with test email
  2. Create sighting for that user
  3. Delete user
  4. Verify sighting is now assigned to inactive user
  5. create new user with test email
  6. fresh new user created; no sightings, has to verify email, has to accept data agreement
@TanyaStere42 TanyaStere42 added the bug Something isn't working label Jul 21, 2023
@TanyaStere42 TanyaStere42 added this to the Codex Release 2.1 milestone Jul 21, 2023
@TanyaStere42 TanyaStere42 changed the title 2.1 Creating a user with the same email address as a deleted user autopopulates their username with "inactivated user" Deleted user's sightings are maintained but email is removed from database Jul 21, 2023
@TanyaStere42 TanyaStere42 changed the title Deleted user's sightings are maintained but email is removed from database Email stays associated with deleted user account Jul 24, 2023
@TanyaStere42 TanyaStere42 removed this from the Codex Release 2.1 milestone Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant