Limit MongoDB users to specific database
D
Daniel Weinshenker
Hello everyone! Happy to announce that DigitalOcean now supports per-database Mongo RBAC in the API: https://www.digitalocean.com/blog/rbac-and-predefined-roles-for-mongodb
For more references on how to use this, see:
- https://docs.digitalocean.com/products/databases/#7-may-2025
- https://docs.digitalocean.com/reference/api/digitalocean/#tag/Databases/operation/databases_add_user
The new roles include Admin, Read/Write, and Read-Only
Huy Lê
YES ! WE NEED IT <3
c
crickman
Being able to create non-super-users? Is this even optional?
How old is this thread exactly?
Sebastian Boehler
+1 would be much appreciated. And IP whitelist user specific
L
Lucas
It's unusual this capability has been overlooked - the database is effectively worthless without it.
Sean Moghadam
yes! yes! yes!
T
Thiago Mendes
same request.
Mathieu P Bourgeois (Mat)
Bump, this is a must
D
Dan McAloon
This is assumed, basic database functionality. How are user permissions not supported? Without this functionality, this is arguably not an enterprise-grade data store.
Dim
Same request. ++++
Load More
→