Best practices for deceased community members

Sadly, this topic has become relevant to me. I set the user’s title to “In Memoriam” and removed privileges and trust from the account to avoid it being a takeover target.

As an alternative to anonymizing the email address to make the purpose clearer, I still used the .invalid TLD to make the purpose clear and remove any email-based takeover vector. I don’t think I can do that from the UI (I might be mistaken) but succeeded in doing it from the Rail console:

u = User.find_by_username("deceasedUser")
UserEmail.where(user_id: u.id).each() do |e|
    e.email = "deceasedUser@in-memoriam.invalid"
    e.save!
end
6 Likes