Module: Mongo::Auth::Roles
- Defined in:
- lib/mongo/auth/roles.rb
Overview
Provides constants for the built in roles provided by MongoDB.
Constant Summary collapse
- BACKUP =
'backup'.freeze
- CLUSTER_ADMIN =
'clusterAdmin'.freeze
- CLUSTER_MANAGER =
'clusterManager'.freeze
- CLUSTER_MONITOR =
'clusterMonitor'.freeze
- DATABASE_ADMIN =
'dbAdmin'.freeze
- DATABASE_ADMIN_ANY_DATABASE =
'dbAdminAnyDatabase'.freeze
- DATABASE_OWNER =
'dbOwner'.freeze
- HOST_MANAGER =
'hostManager'.freeze
- READ =
'read'.freeze
- READ_ANY_DATABASE =
'readAnyDatabase'.freeze
- READ_WRITE_ANY_DATABASE =
'readWriteAnyDatabase'.freeze
- READ_WRITE =
'readWrite'.freeze
- RESTORE =
'restore'.freeze
- ROOT =
'root'.freeze
- USER_ADMIN =
'userAdmin'.freeze
- USER_ADMIN_ANY_DATABASE =
'userAdminAnyDatabase'.freeze