Done
Details
Details
Assignee
dmitriy.kostiuk
dmitriy.kostiuk(Deactivated)Reporter
Sergey Pronin
Sergey Pronin(Deactivated)Needs QA
Yes
Needs Doc
Yes
Fix versions
Priority
Created January 28, 2022 at 2:28 PM
Updated March 5, 2024 at 4:44 PM
Resolved September 5, 2022 at 4:21 PM
Currently when we deploy MongoDB we create two users in the cluster for users:
clusterAdmin - to manage cluster params userAdmin - to manage users
It would be simpler if we also provide an admin user that can provision databases, collections and perform data modifications out of the box.
Also we see the same at:
cluster control
digital ocean managed mongodb
atlas
From what I see this user has the following permissions:
"authenticatedUserRoles" : [ { "role" : "readWriteAnyDatabase", "db" : "admin" }, { "role" : "readAnyDatabase", "db" : "admin" }, { "role" : "restore", "db" : "admin" }, { "role" : "backup", "db" : "admin" }, { "role" : "dbAdminAnyDatabase", "db" : "admin" }, { "role" : "clusterMonitor", "db" : "admin" } ]