Sha256: defaef825ce4bb0ef6fc4d2beccfbd69f3d4b18972bf0bbc66288d594112a616
Contents?: true
Size: 478 Bytes
Versions: 25
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true # 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, Mongo::Auth::Roles::CLUSTER_MONITOR ] )
Version data entries
25 entries across 25 versions & 1 rubygems