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

View performance

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 on Self-Managed Deployments to grant specific privileges.

Back

Export with the CLI