mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:54:41 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user