Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Update the Erasure Request Email Fulfillment template [#1265] #1270

Merged
merged 2 commits into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
</head>
<body>
<main>
<p>Please locate and erase the associated records from the following collections:</p>
<p>
This is an automated email sent using Fides. A customer would like to exercise their data privacy right to be deleted.
Please locate and erase personally identifiable information for the data subject and records listed below:
</p>
{% for collection_address, action_required in dataset_collection_action_required.items() -%}
<p><b>{{ collection_address.collection }}</b></p>
{% for action in action_required.action_needed -%}
Expand All @@ -16,15 +19,21 @@
<li> Field: <i>{{ field }}</i>, Values: {{ values|join(', ') }} </li>
{%- endfor %}
</ul>
{% if action.update -%}
<p>Erase the following fields:</p>
<ul>
{% for field_name, masking_strategy in action.update.items() -%}
<li><i>{{field_name}}</i></li>
{%- endfor %}
</ul>
{%- endif %}
{%- endfor %} {%- endfor %}
{% if action.update -%}
<ul>
{% for field_name, masking_strategy in action.update.items() -%}
<li><i>{{field_name}}</i></li>
{%- endfor %}
</ul>
{% else %}
<p>
<ul>
<li><i>No erasures needed on this collection.</i></li>
</ul>
</p>
{%- endif %}
{%- endfor %} {%- endfor %}
</main>
</body>
</html>