[COMPASS-3341] Show and modify validationAction Created: 04/Dec/18 Updated: 03/Jan/19 Resolved: 03/Jan/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Alena Khineika | Assignee: | Alena Khineika |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | COMPASS-2198 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
|
Show and modify validationAction (error, warn), which determines whether MongoDB should error and reject documents that violate the validation rules or warn about the violations in the log but allow invalid documents. Error is the default value (this is consistent with the documentation of the validation feature). After modification user should be informed about unsaved changes. Validation rules and validationAction should be saved together. |