From c468c9ce17437838bf273f3bb1bf9b50c4b64d5c Mon Sep 17 00:00:00 2001 From: Dawn Pattison Date: Wed, 7 Sep 2022 16:27:03 -0500 Subject: [PATCH 1/2] Update email template for email request fulfilment. --- .../erasure_request_email_fulfillment.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html b/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html index 4a6d6febf..cf756ffef 100644 --- a/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html +++ b/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html @@ -6,7 +6,10 @@
-

Please locate and erase the associated records from the following collections:

+ 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: + {% for collection_address, action_required in dataset_collection_action_required.items() -%}

{{ collection_address.collection }}

{% for action in action_required.action_needed -%} @@ -17,12 +20,14 @@ {%- endfor %} {% if action.update -%} -

Erase the following fields:

- +

Erase the following fields:

+ + {% else %} +

No erasures needed on this collection.

{%- endif %} {%- endfor %} {%- endfor %}
From 8cd8e72be5e92ebc0ff8a6471c4bbfed194748a3 Mon Sep 17 00:00:00 2001 From: Dawn Pattison Date: Wed, 7 Sep 2022 16:42:49 -0500 Subject: [PATCH 2/2] Formatting changes. --- .../erasure_request_email_fulfillment.html | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html b/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html index cf756ffef..777491cd7 100644 --- a/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html +++ b/src/fidesops/ops/email_templates/templates/erasure_request_email_fulfillment.html @@ -6,10 +6,10 @@
- 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: - +

+ 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: +

{% for collection_address, action_required in dataset_collection_action_required.items() -%}

{{ collection_address.collection }}

{% for action in action_required.action_needed -%} @@ -19,17 +19,21 @@
  • Field: {{ field }}, Values: {{ values|join(', ') }}
  • {%- endfor %} - {% if action.update -%} -

    Erase the following fields:

    +

    Erase the following fields:

    + {% if action.update -%}
      {% for field_name, masking_strategy in action.update.items() -%}
    • {{field_name}}
    • {%- endfor %}
    - {% else %} -

    No erasures needed on this collection.

    - {%- endif %} - {%- endfor %} {%- endfor %} + {% else %} +

    +

      +
    • No erasures needed on this collection.
    • +
    +

    + {%- endif %} + {%- endfor %} {%- endfor %}
    \ No newline at end of file