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. For administrators, you can modify the Compass settings to restrict the actions users can take.您可以指定Compass设置和行为来定制您的Compass体验。对于管理员,您可以修改Compass设置以限制用户可以采取的操作。
For example:例如:
If you need to hide credentials from users connecting to MongoDB, you can set the如果需要对连接到MongoDB的用户隐藏凭据,可以设置protectConnectionStringsoption.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,您可以使用一个通用的配置文件来确保一致的用户体验。