Thanks, it is here in case anyone else is interested:
crazycells created this issue in NodeBB/NodeBB
Post Queue for the first post of new users only
As the title says, I'm trying to make it so only admins/mods can upload or adjust the cover images for people's profiles. I've looked around the various hooks and what not, but I'm at a loss of how to achieve this.
I was originally thinking I could edit the function of the upload/edit buttons and check if the person has the required permissions; but I cannot seem to find where their functionality is actually defined.
The principle in a docker container is to not care about the inners of it, since you are not directly connected to it (besides setting up the app).
The goal of @damian, I think, is not to test if nodebb runs well on a platform but rather to have a small image to run tests against nodebb and maybe some added plugins, etc. To this, the smaller the container the better, and alpine is good at that.
And even for production purposes, if you want to setup a farm of forums, the smaller the image the better.
I hope this sheds a new light on our request.
If it were a bot, I could assign it a token from the ACP. I am creating a third party application that interfaces with NodeBB. It needs to be able to inherently create new user accounts, and then also login as them (which is where logging in via a token would come into play). I suppose it would be possible to create an account via a socket connection directly, but I imagine I could have uses to some of the write API methods anyways.
Is it possible to programmatically create user tokens for the Write API? If that's the case, I could use a socket to create the account, and then generate a JWT token specifically for that user rather than hacking something into the application itself. That would leave the only hurdle being logging in, but at that point I could just store encrypted login credentials in a config file, and login to the API using https://github.com/NicolasSiver/nodebb-plugin-ns-login
I'd like to export a list of the users and their emails from a specific group. Is there a way to do this? And if not, is there a way to export all users, but add more fields to the list besides username and email address?