QuickExpungeio / Main

Main Expunge site
0 stars 0 forks source link

Deleted users do not get OTPs - Bug #32

Open QuickExpungeio opened 10 months ago

QuickExpungeio commented 10 months ago

Pre req

User has previously submitted expungement

  1. User logs in as a admin
  2. Admin deletes user
  3. User logs out
  4. User goes to main site
  5. User chooses "Clicks her to begin"
  6. User adds email

Notice OTP verification does not appear. Which indicates does not recognize as a new email.

Expectation: The OTP appears and treats as a new user

SureshGaud commented 10 months ago

Admin can only delete applications, not the user.

user may have more than 1 applications submitted. since user has a registration, he can still login but he wont be able to see the application which was deleted by admin.

we need to discuss how we want the user to be deleted out of our system.

QuickExpungeio commented 10 months ago

I am referring to specifically the admin deleting

On Thu, Aug 10, 2023 at 8:08 AM SureshGaud @.***> wrote:

Admin can only delete applications, not the user.

user may have more than 1 applications submitted. since user has a registration, he can still login but he wont be able to see the application which was deleted by admin.

we need to discuss how we want the user to be deleted out of our system.

— Reply to this email directly, view it on GitHub https://github.com/QuickExpungeio/Main/issues/32#issuecomment-1673017104, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAZ7ML2MF72SVNDDOPSIGN3XUS6KJANCNFSM6AAAAAA3KCQX2Y . You are receiving this because you authored the thread.Message ID: @.***>

QuickExpungeio commented 10 months ago

If a admin deletes a user it should not be in the database. Therefore should be treated like a new user (do to application and profile being deleted)

On Thu, Aug 10, 2023 at 8:18 AM EJ 1914 @.***> wrote:

I am referring to specifically the admin deleting

On Thu, Aug 10, 2023 at 8:08 AM SureshGaud @.***> wrote:

Admin can only delete applications, not the user.

user may have more than 1 applications submitted. since user has a registration, he can still login but he wont be able to see the application which was deleted by admin.

we need to discuss how we want the user to be deleted out of our system.

— Reply to this email directly, view it on GitHub https://github.com/QuickExpungeio/Main/issues/32#issuecomment-1673017104, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAZ7ML2MF72SVNDDOPSIGN3XUS6KJANCNFSM6AAAAAA3KCQX2Y . You are receiving this because you authored the thread.Message ID: @.***>

SureshGaud commented 10 months ago

Lets consider the scenario, user has submitted 5 applications yet.

Admin has delete user functionlaity. ( not delete application feature )

Admin deletes the user.

what will happen to the 5 applications which he has submitted, documents and all the chat history ?