mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 02:29:29 +08:00
FEATURE: log impersonations
This commit is contained in:
@ -32,7 +32,8 @@ class UserHistory < ActiveRecord::Base
|
||||
:auto_trust_level_change,
|
||||
:check_email,
|
||||
:delete_post,
|
||||
:delete_topic)
|
||||
:delete_topic,
|
||||
:impersonate)
|
||||
end
|
||||
|
||||
# Staff actions is a subset of all actions, used to audit actions taken by staff users.
|
||||
@ -48,7 +49,8 @@ class UserHistory < ActiveRecord::Base
|
||||
:revoke_badge,
|
||||
:check_email,
|
||||
:delete_post,
|
||||
:delete_topic]
|
||||
:delete_topic,
|
||||
:impersonate]
|
||||
end
|
||||
|
||||
def self.staff_action_ids
|
||||
|
Reference in New Issue
Block a user