Add User to MongoDB
Assign MongoDB database user to a database
From this page, you can assign privileges for a MongoDB database user to a particular database.
Location :
MongoDB -> Add User to MongoDB
You may select the following to assign the user.
Select Database , a database to which the user is to be added.
Select Database User, a PgsQL user to assign to the database.
Both Database and User need to be in the same PgSQL server to assign.
Assign Database User Roles, and choose the privilege. This will restrict the database permission. Eenos provides the following privilege options on mongodbMongoDB database roles.
- dbOwner
dbAdmindbAdmin, and userAdmin roles. - read
- readWrite: Provides all the privileges of the read role plus the ability to modify data on all non-system collections and the system.js collection.
- dbAdmin