Docs Menu
Docs Home
/
Atlas
/ /

Built-In Roles and Privileges

The available Atlas built-in roles and specific privileges support a subset of MongoDB commands. See Unsupported Commands in M10+ Clusters for more information.

The following table describes the Atlas built-in roles and the MongoDB Roles they represent. Refer to Built-In Roles for a full description of the privilege actions that each role includes.

Note

Protected MongoDB Database Namespaces

Atlas Built-in Role
MongoDB Role
Inherited Roles or Privilege Actions
Atlas admin
atlasAdmin
Read and write to any database

readWriteAnyDatabase

Only read any database

readAnyDatabase

backup

backup

clusterMonitor

clusterMonitor

dbAdmin

dbAdmin

dbAdminAnyDatabase

dbAdminAnyDatabase

enableSharding

enableSharding

read

read

readWrite

readWrite

readWriteAnyDatabase

readWriteAnyDatabase

readAnyDatabase

readAnyDatabase

To learn more about common commands that Atlas doesn't support with the current Atlas user privileges, see Unsupported Commands in M10+ Clusters

killOpSession is specific to Atlas and applies to any user-configured database.

It inherits the following privilege actions:

The autoCompact privilege action is specific to Atlas and allows database users with the atlasAdmin role to enable or disable background compaction. You can also create a custom database user with the autoCompact privilege enabled.

Back

Database Users