db.createUser( { user: "git_downloader", pwd: "password", roles: [ { role: "readWrite", db: "git" } ] } ); db.createCollection("repos");