[SERVER-52645] Allow userToDNMapper to accept (and use by default) an empty set of transforms Created: 05/Nov/20 Updated: 29/Oct/23 Resolved: 22/Jan/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Sergey Galtsev (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||
| Sprint: | Security 2021-01-25 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently the userToDNMapper class requires at least one transform rule to function correctly. Treat empty string (or `[]` / array) as performing no transformations without error. |
| Comments |
| Comment by Sergey Galtsev (Inactive) [ 22/Jan/21 ] |
|
NOTE: The commit that implements the change is incorrectly annotated to be "master: |
| Comment by Githook User [ 20/Jan/21 ] |
|
Author: {'name': 'Sergey Galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: Revert " This reverts commit d1efabab1f0f1986b9b4a3fde4c1624ba6b59a50. |
| Comment by Githook User [ 20/Jan/21 ] |
|
Author: {'name': 'Sergey Galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |