I’d like to be able to make calls to my site’s own API to determine if a user has permission to view a topic in a category that is otherwise not accessible to users.
It looks like I would have to modify TopicGuardian to do this. Is that the right way of going about this? Would I be able to make this as a plugin? (I haven’t been able to find any canonical information about writing plugins that isn’t 2 years old…)