Add probable missing role
MODIFY
docker/initdb/createMongoUsers.sh
docker/initdb/createMongoUsers.sh
@@ -14,9 +14,41 @@ db.getSiblingDB(\"$DB\")
user: \"$USER\",
pwd: \"$PASSWORD\",
roles: [
+ {
+ role: \"read\",
+ db: \"$DB\"
+ },
{
role: \"readWrite\",
db: \"$DB\"
+ },
+ {
+ role: \"dbAdmin\",
+ db: \"$DB\"
+ },
+ {
+ role: \"userAdmin\",
+ db: \"$DB\"
+ },
+ {
+ role: \"clusterAdmin\",
+ db: \"$DB\"
+ },
+ {
+ role: \"readAnyDatabase\",
+ db: \"$DB\"
+ },
+ {
+ role: \"readWriteAnyDatabase\",
+ db: \"$DB\"
+ },
+ {
+ role: \"userAdminAnyDatabase\",
+ db: \"$DB\"
+ },
+ {
+ role: \"dbAdminAnyDatabase\",
+ db: \"$DB\"
}
]
}

Add probable missing role