Mongodb perm

Technical Support
  • Swedes

    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?

Suggested Topics

| | | |