What would the pros / cons be of putting users that should have access to one database in the admin database instead of the database that they should have access to?
I’m a C# developer. This is the first live project using mongodb I’m working on.
I would like to know from people used to managing mongodb instances how they go about setting up users.
In this case I want three users, one for administration, one “webuser” that the intranet web application which I develop will use to read and write documents in one database and a reader user used when read access is enough. Both the readwrite and the reader user just need acces to one database. The admin user should be admin of the mongoserver. The database will be hosted on the server that hosts the web