Repository navigation
Omitted fields: address province/civic name, protected criterion properties - #581
Conversation
…ce and civic name (assembled from street, house number, zip and city). Saved search criteria obfuscate the values of all encrypted proband address, bank account and file properties; the bank account and file entries had no Hash suffix and matched no criterion property, city and zip code were missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
OmittedFieldslists the VO fields holding encrypted data, which notification/mass mail template models (notification_template_model_omit_encrypted_fields), Excel VO exports and XStream serialization leave out, and the criterion properties whose search values are obfuscated in saved criteria. Both lists had gaps.Changes
ProbandAddressOutVO.provinceandProbandAddressInVO.province(encrypted since the province was added) andProbandAddressOutVO.civicName(assembled from the decrypted street, house number, province, zip code and city) are omitted.proband.addresses.cityNameHashandzipCodeHash(offered by master-data's criterion property definitions, so their search values were shown in clear text), andcareOfHash,countryNameHash,provinceHash,streetNameHashfor completeness;proband.bankAccounts.*andproband.files.*were listed without theHashsuffix and matched no criterion property, soproband.files.fileNameHash(offered by master-data) was not protected. Now named after the hash fields.City, zip code and street were not protected before (house number, entrance and door number were); not intended, saved address searches were just rare.
Not changed:
ProbandOutVOinitials,yearOfBirthandage(derived from encrypted name and date of birth) stay visible.Tested
Test VM build; against the built classes:
isOmitted(ProbandAddressOutVO, "province"/"civicName"),isOmitted(ProbandAddressInVO, "province")andisOmitted("proband.addresses.zipCodeHash" / "cityNameHash" / "proband.files.fileNameHash" / "proband.bankAccounts.ibanHash")are true;deliverandproband.genderstay unprotected. Not tested end to end (mail/export/criteria display).🤖 Generated with Claude Code
Summary by CodeRabbit