Docs Menu
Docs Home
/
MongoDB Compass
/

Required Access

MongoDB Compass users require specific privileges to access various Compass features if authentication/authorization is enforced on the connected MongoDB instance.

The following table lists the privileges required to access the features as well as the built-in roles that can provide these privileges:

Compass View
Capability
Privilege(s)
MongoDB Built-In Role
Home/MongoDB Instance
dbStats
Database
Database
Collection
Collection
Schema
Documents
Documents
Indexes
Indexes
Explain Plan
Validation
Validation

Note

The built-in roles may provide more access than required. You can also create a User-Defined Roles to grant specific privileges.

← Import Saved Connections with the CLI