Skip to main content

Add User to MongoDB

Assign PostgreSQLMongoDB database user to a database

From this page you can assign privileges for a PgSQLMongoDB database user to a particular database

Location :

PostgreSQLMongoDB -> Add User to DatabaseMongoDB

You may select the following to assign the user

Select Database ,  a database to add

Select Database User, a PgsQL  user to assign to the database

Both Database and User need to be in same PgSQL server to assign

Assign Database User Roles, chose the privilege. This will restrict the database permission. Eenos provide the following privelege options on mongodb database rols.

  • dbOwner  :  This role combines the privileges granted by the readWrite, dbAdmin and userAdmin roles.
  • read : Provides the ability to read data on all non-system collections and the system.js collection.
  • readWrite: Provides all the privileges of the read role plus ability to modify data on all non-system collections and the system.js collection.
  • dbAdmin : Provides the ability to perform administrative tasks such as schema-related tasks, indexing, and gathering statistics. This role does not grant privileges for user and role management.

Now click the button  Assign User to add the user to the selected database.