open_in_new
content_copy
use admin; db.grantRolesToUser('staging', [{ role: 'readWrite', db: 'db-name' }]);