Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spam User: Not able to delete the account #5633

Closed
mariobehling opened this issue Nov 15, 2020 · 1 comment · Fixed by fossasia/open-event-server#7448
Closed

Spam User: Not able to delete the account #5633

mariobehling opened this issue Nov 15, 2020 · 1 comment · Fixed by fossasia/open-event-server#7448

Comments

@mariobehling
Copy link
Member

Sometimes some accounts make the effort to go through the entire process and create a spam entry, but it currently fails to delete these accounts right after an event was deleted.

Steps to take:

  1. Delete an event that is associated with an event.
  2. The event is moved to "Deleted Events" (but probably still associated with that account email)"
  3. Try to delete the spam user, e.g. bakerwagon@gmail.com
  • Error

When we delete an event, the deleted event should probably also be disassociated with an account. Maybe use an association "oldaccountemail.deletedevent"? Or some similar solution, because we still want to be able to re-instate the event in case it was deleted by error or someone hacked the account.

@iamareebjamal
Copy link
Member

I don't think the event should be disassociated with the account because then it'll be impossible to know which user it was associated with. The failure to delete user is probably a logical error. If the event associated with the account has been deleted, it should be possible to delete it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants