FEATURE: Anonymize User. A way to remove a user but keep their topics and posts.

This commit is contained in:
Neil Lalonde
2015-03-06 16:44:54 -05:00
parent a68512bebf
commit 608647d02f
16 changed files with 401 additions and 100 deletions

View File

@ -37,7 +37,8 @@ class UserHistory < ActiveRecord::Base
:roll_up,
:change_username,
:custom,
:custom_staff)
:custom_staff,
:anonymize_user)
end
# Staff actions is a subset of all actions, used to audit actions taken by staff users.
@ -57,7 +58,8 @@ class UserHistory < ActiveRecord::Base
:impersonate,
:roll_up,
:change_username,
:custom_staff]
:custom_staff,
:anonymize_user]
end
def self.staff_action_ids