Customize Compass自定义Compass
On this page本页内容
To customize user access and privacy in MongoDB Compass, you can configure your Compass settings on the Compass interface, the command line, or a configuration file.要在MongoDB Compass中自定义用户访问和隐私,您可以在Compass界面、命令行或配置文件中配置Compass设置。
Use Cases使用案例
You can specify Compass settings and behaviors to customize your Compass experience. 您可以指定Compass设置和行为来自定义Compass体验。For administrators, you can modify the Compass settings to restrict the actions users can take.对于管理员,可以修改Compass设置以限制用户可以采取的操作。
For example:例如:
If you need to hide credentials from users connecting to MongoDB, you can set the如果需要向连接到MongoDB的用户隐藏凭据,可以设置protectConnectionStrings
option.protectConnectionStrings
选项。If you want to automate the launch of Compass without any input required from users, you can use the command line to launch Compass with specified configuration options.如果您想在不需要用户输入的情况下自动启动Compass,可以使用命令行使用指定的配置选项启动Compass。If you have multiple team members using Compass, you can use a common configuration file to ensure a consistent user experience.如果您有多个团队成员使用Compass,则可以使用一个通用配置文件来确保一致的用户体验。