Automatically flag someone as a spammer if their posts get at least X spam flags from N users while their trust level is 'new user'. Staff can clear and set this status from the user record in admin.

This commit is contained in:
Neil Lalonde
2013-05-31 11:41:40 -04:00
parent 1e7279f0ea
commit c4904aacc0
20 changed files with 585 additions and 32 deletions

View File

@@ -24,7 +24,8 @@ class AdminUserSerializer < BasicUserSerializer
:ip_address,
:can_send_activation_email,
:can_activate,
:can_deactivate
:can_deactivate,
:blocked
def is_banned
object.is_banned?