What are the database admin roles?
dbAdmin |
|
- clean
- collMod
- collStats
- compact
- convertToCapped
- create
- db.createCollection()
- dbStats
|
- drop()
- dropIndexes
- ensureIndex()
- indexStats
- profile
- reIndex
- renameCollection
- validate
|
|
userAdmin |
|
- Allows users to read and write data to the system.users collection of the user’s database
|
|
More Info: docs.mongodb.org/manual/reference/user-privileges