mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
fix up find as you type for the invite into PM function
allow mods to remove users from a PM
This commit is contained in:
@@ -23,7 +23,7 @@ class TopicViewSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def self.guardian_attributes
|
||||
[:can_moderate, :can_edit, :can_delete, :can_invite_to, :can_move_posts]
|
||||
[:can_moderate, :can_edit, :can_delete, :can_invite_to, :can_move_posts, :can_remove_allowed_users]
|
||||
end
|
||||
|
||||
attributes *topic_attributes
|
||||
|
||||
Reference in New Issue
Block a user