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.
NodeBB/src/routes/index.js at master · NodeBB/NodeBB
Node.js based forum software built for the modern web - NodeBB/src/routes/index.js at master · NodeBB/NodeBB
GitHub (github.com)
Copyright © 2025 NodeBB | Contributors