FEATURE: Allow admins to lock users from TL3 promotion/demotion

Also, update the display logic for the leader promotion screen to
account for the demotion grace period.
This commit is contained in:
riking
2014-09-13 13:55:26 -07:00
committed by Sam
parent 41d53c7222
commit c8111ada6e
12 changed files with 121 additions and 18 deletions

View File

@ -72,6 +72,7 @@ Discourse::Application.routes.draw do
put "block"
put "unblock"
put "trust_level"
put "trust_level_lock"
put "primary_group"
post "groups" => "users#add_group", constraints: AdminConstraint.new
delete "groups/:group_id" => "users#remove_group", constraints: AdminConstraint.new