-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell
-
Server Tooling & Methods
-
(copied to CRM)
It would be nice if the shell could (perhaps by default) prompt the user for confirmation before issuing write commands. These warnings could also highlight when there are no filters applied (which would result in modifying all documents in the targeted collection). This could be viewed as a "reasonably safe mode" which would be helpful in situations where the user has permission and must sometimes issue writes, but needs to be careful because of the target environment (such as production deployments).
- is related to
-
SERVER-3437 Console safe mode
- Closed
-
SERVER-36803 Ability to prompt for user input in shell
- Closed
- related to
-
SERVER-36196 expose function in shell to determine if it's running in interactive mode
- Closed