Users viewing the top topics from the categories page should see those belonging to a private category if they have access to it.
@eviltrout Git says you wrote this code four years ago. Do you remember why you used
nil instead of
current_user by chance?
Can confirm this is a bug because current_user is passed to the
TopicQuery when fetching top topics in the ccategories#index method.
I’m not sure why I did that. This seems good.