Mongodb perm
-
I use mongodb, but i get this
"not authorized on nodebb_se_dev to execute command { serverStatus: 1 }"
What perm is recommended for the nodebb users, I want it as safe as possible.
I have this:
db.createUser( { user: "myuser", pwd: "<Enter in a secure password>", roles: [ "readWrite" ] } )
I found this
But i don't want to add any rights to the admin DB only nodebb_se_dev. But the serverstatus is only for the admin db or what?
What role am I missing?
Copyright © 2024 NodeBB | Contributors