Skip to content

Delete comment replies for spammers and banned users

Marcelo Rivera requested to merge feat/delete-comment-replies-1235 into master

Summary

Whenever we ban a user, we remove his/her content from the site, but we do not delete it. We copy it into a Cassandra table called user_snapshots, so we can restore that data in case the user gets unbanned later. This feature was not working for comment replies

Steps to test

  • Create a user, make sure to leave a few comments (both root level, and replies)
  • Ban that user
  • Go to the entity you commented at first, and you should see all of that user's comments deleted

closes #1235 (closed)

Edited by Marcelo Rivera

Merge request reports