-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently, doing a direct update or findAndModify to an encrypted collection's _safeContent array when bypassDocumentValidation is false is only prevented if the operation is a replacement-type update, or a $set on the safeContent field itself. It does not error if you try to $set a dotted path like safeContent_.0 or if you use other modifier-style update operation like $push or $pop on it.