模块:Mongo::Auth::Roles

定义于:
build/Ruby-driver-v 2.19 /lib/mongo/auth/roles.rb

Overview

为 MongoDB 提供的内置角色提供常量。

由于:

  • 2.0.0

常量摘要折叠

BACKUP =
' backup '.冻结
CLUSTER_ADMIN =
' clusterAdmin '.冻结
CLUSTER_MANAGER =
' clusterManager '.冻结
CLUSTER_MONITOR =
' clusterMonitor '.冻结
DATABASE_ADMIN =
' dbAdmin '.冻结
DATABASE_ADMIN_ANY_DATABASE =
' dbAdminAnyDatabase '.冻结
DATABASE_OWNER =
' dbOwner '.冻结
HOST_MANAGER =
' hostManager '.冻结
READ =
' read '.冻结
READ_ANY_DATABASE =
' readAnyDatabase '.冻结
READ_WRITE_ANY_DATABASE =
' readWriteAnyDatabase '.冻结
READ_WRITE =
' readWrite '.冻结
RESTORE =
' restore '.冻结
ROOT =
' root '.冻结
USER_ADMIN =
' userAdmin '.冻结
USER_ADMIN_ANY_DATABASE =
' userAdminAnyDatabase '.冻结