Sha256: 0fe170a1013172ce0c9533aba2259edb1e858595a42df9f7738e8ed077a56b80
Contents?: true
Size: 406 Bytes
Versions: 8
Compression:
Stored size: 406 Bytes
Contents
# Set up a root user so we can set up authentication on a database level. MONGOID_ROOT_USER = Mongo::Auth::User.new( database: Mongo::Database::ADMIN, user: 'mongoid-user', password: 'password', roles: [ Mongo::Auth::Roles::USER_ADMIN_ANY_DATABASE, Mongo::Auth::Roles::DATABASE_ADMIN_ANY_DATABASE, Mongo::Auth::Roles::READ_WRITE_ANY_DATABASE, Mongo::Auth::Roles::HOST_MANAGER ] )
Version data entries
8 entries across 6 versions & 2 rubygems