Mongodb perm

Technical Support
  • 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


  • 1 Votes
    3 Posts
    42 Views

  • Mongodb authorisation

    Technical Support
    0 Votes
    3 Posts
    183 Views

  • 1 Votes
    33 Posts
    1772 Views

  • mongodb typeerror

    Technical Support
    0 Votes
    3 Posts
    986 Views

  • 0 Votes
    7 Posts
    2973 Views

| | | |