Not right now since it's part of the moderation privilege.
How to disable local login at setup?
I have deployed Nodebb on AWS Apprunner which is a managed container application service. I am using a fork of the https://github.com/FusionAuth/nodebb-plugin-fusionauth-oidc/ to use my own login and do not want local logins at all.
Everytime I run ./nodebb setup, because of this line in
install.jshttps://github.com/NodeBB/NodeBB/blob/master/src/install.js#L428, local login is enabled again.
Is there a way I can control this at setup so that the local login is not enabled everytime at setup?
I was able to do what I want using these changes but not sure if there is a better way. https://github.com/NodeBB/NodeBB/pull/11091/files
@julian I assumed that since this was a managed container environment where containers are ephemeral and can be moved around, I would need to run
./nodebb setupevery time. Is my assumption wrong? Can I just run setup once to populate the database and then just run
./nodebb buildthe other times?