We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6035408 commit eb1f785Copy full SHA for eb1f785
adapters/mongo_adapter.go
@@ -61,7 +61,7 @@ func (adapter mongoAdapter) CreateDatabaseUser(username string, password string,
61
bson.D{
62
{Key: "createUser", Value: username},
63
{Key: "pwd", Value: password},
64
- {Key: "roles", Value: []bson.M{{"role": "dbAdmin", "db": database}}}})
+ {Key: "roles", Value: []bson.M{{"role": "dbOwner", "db": database}}}})
65
66
if r.Err() != nil {
67
return r.Err()
0 commit comments