58b96eda6c
TopicQuery already provides a lot of safeguards and options for filtering topic, and enforcing permissions. It makes sense to rely on it as other plugins like discourse-assign do. As a bonus, we now have access to the current_user while serializing these topics, so users will see things like unread posts count just like we do for the lists. |
||
---|---|---|
.. | ||
models | ||
entry_point_spec.rb | ||
semantic_related_spec.rb | ||
semantic_search_spec.rb |