just like a content copy protection on wordpress
Do I need to call user.isAdministrator on my plugin's admin page?
-
...or does NodeBB make sure all requests and posts to
/admin/*
are administrators? -
You don't have to. NodeBB core makes sure all requests to those routes are from admins.
https://github.com/NodeBB/NodeBB/blob/master/src/routes/index.js#L125-L126