mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
5
db/migrate/20130603192412_add_blocked_to_users.rb
Normal file
5
db/migrate/20130603192412_add_blocked_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddBlockedToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :blocked, :boolean, default: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user