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. |
||
---|---|---|
.. | ||
fixtures/embeddings | ||
integration/embeddings | ||
lib/modules | ||
models | ||
requests | ||
serializers | ||
shared | ||
support | ||
system | ||
plugin_spec.rb |