mirror of
https://github.com/discourse/discourse.git
synced 2025-09-12 21:10:47 +08:00
FEATURE: don't demote trust level 3 users who were promoted less than SiteSetting.leader_promotion_min_duration days ago
This commit is contained in:
parent
04e5c59598
commit
df8b25d2f5
9 changed files with 63 additions and 10 deletions
|
@ -25,7 +25,8 @@ class UserHistory < ActiveRecord::Base
|
|||
:unsuspend_user,
|
||||
:facebook_no_email,
|
||||
:grant_badge,
|
||||
:revoke_badge)
|
||||
:revoke_badge,
|
||||
:auto_trust_level_change)
|
||||
end
|
||||
|
||||
# Staff actions is a subset of all actions, used to audit actions taken by staff users.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue