Improved Group Member Management on User Administration

Allows for a quick and easy group membership management on the
user-administration page. Uses the select2 UI component to
autosuggest other groups, remove existing ones and lock in automatic
groups.
This commit is contained in:
Benjamin Kampmann
2014-07-13 20:11:38 +02:00
parent 2a40c04480
commit ac3f1ba3d6
7 changed files with 96 additions and 9 deletions

View File

@@ -70,6 +70,8 @@ Discourse::Application.routes.draw do
put "unblock"
put "trust_level"
put "primary_group"
post "groups" => "users#add_group", constraints: AdminConstraint.new
delete "groups/:group_id" => "users#remove_group", constraints: AdminConstraint.new
get "badges"
get "leader_requirements"
end