Built-in roles
Roles TeselaDB ships with the same privileges as in MongoDB.
Each built-in role has the same privileges as in MongoDB. For something finer, create your own roles.
| Role | What it is for |
|---|---|
read | Read the collections of a database. |
readWrite | Read and write the collections of a database. |
dbAdmin | Administer the indexes and statistics of a database, with its profiler. |
dbOwner | Everything on a database: readWrite, dbAdmin and userAdmin. |
userAdmin | Create and change users and roles of a database. |
enableSharding | Enable sharding of a database and set shard keys. |
clusterAdmin | Administer the whole cluster. |
clusterManager | Manage the sharding and zones of the cluster, with its balancer. |
clusterMonitor | Read the state and metrics of the cluster. |
hostManager | Manage processes: rotate the log, kill cursors. |
directShardOperations | Operate directly on a shard. |
backup | Take backups with the MongoDB tools. |
restore | Restore backups with the MongoDB tools. |
readAnyDatabase | Read every database. |
readWriteAnyDatabase | Read and write every database. |
userAdminAnyDatabase | Administer users and roles of every database. |
dbAdminAnyDatabase | Administer every database. |
root | The whole cluster. |
__system | Internal use between nodes; it is not granted to users. |