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. |
||
---|---|---|
.. | ||
jobs/regular | ||
models | ||
strategies | ||
entry_point.rb | ||
manager.rb | ||
semantic_related.rb | ||
semantic_search.rb |