ecp_mongo_assign_user_to_database
Assign a MongoDB user readWrite access to a database in your hosting account. Requires confirmation as this security-sensitive grant applies to the entire database.
Instructions
Grant a MongoDB user readWrite access to a database (both must already belong to this account). MongoDB only supports whole-database readWrite here - no read-only or per-collection grants like MySQL/Postgres. Security-sensitive - review carefully before confirming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| db_name | Yes | ||
| db_username | Yes |