Info |
---|
The user management of the MongoDB is not part of the Community Edition of Mongo Management Studio. |
MongoDB has an integrated user management. This allows you to control the access to the databases and to assign read/write permissions.
In Mongo Management Studio you get access to the user management with tight-clicking on a database name in the left navigation tree and selecting "User Management" from the opened context menu. A popup with a list of existing users of the database opens and gives the option to edit or delete them. By clicking on "Add user" a form for a new user appears. A user always gets a username and a password or a usersource . Chose the appropriate role from the list and click on the "Save" button to save the user.
A special case is the admin database, which exists in every MongoDB server instance. Some specific roles are only active, if they have been granted on the admin database. Get access to the user management of the admin database by right-clicking on the server connection and selecting "Usermanagement" from the context menu.
Hinweis |
---|
If the server is running in authentication mode and no global user exists yet, an "Auth failed" - error message will be displayed after adding a user. In this case simply re-connected with the stored user data. |
Hinweis |
---|
The user management refers to the User roles in MongoDB 2.4 |