Use this hook to prevent posting and displaying and alert https://github.com/NodeBB/nodebb-plugin-composer-default/blob/master/static/lib/composer.js#L677
GETing posts in categories that are only accessable to certain groups?
I'm writing a bot that GETs a specific post from a category on my forum, and this category is only accessable by admins. Only problem is, GETting that post always returns a 401 Not Authorized response, because it's not open to users.
I've tried using auth=(username, password), Authorization: Bearer, even sending it in the GET params, but they all just return 401.
Any way of doing this?