File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,31 @@ an :ref:`aggregation pipeline <aggregation-pipeline>`:
66
66
{ $match: { "last_name": "Smith" } } // press Shift + Enter
67
67
] ) // Press Enter
68
68
69
+ Disable the Embedded MongoDB Shell
70
+ ----------------------------------
71
+
72
+ You can disable the embedded MongoDB shell in |compass-short| to avoid running
73
+ unauthorized commands on :binary:`mongosh`.
74
+
75
+ To disable the embedded MongoDB shell:
76
+
77
+ .. procedure::
78
+ :style: normal
79
+
80
+ .. step:: In the |compass-short| top menu bar, click :guilabel:`Help`.
81
+
82
+ .. step:: In the :guilabel:`Help` menu, click :guilabel:`Settings`.
83
+
84
+ |compass-short| opens a dialog box where you configure your |compass|
85
+ settings.
86
+
87
+ .. step:: Toggle :guilabel:`Enable MongoDB Shell`.
88
+
89
+ If you select :guilabel:`Set Read-Only Mode`, |compass-short|
90
+ automatically unchecks the :guilabel:`Enable MongoDB Shell` setting.
91
+
92
+ .. step:: Click :guilabel:`Save`.
93
+
69
94
Learn More
70
95
~~~~~~~~~~
71
96
You can’t perform that action at this time.
0 commit comments