From d8dbdd7ef3c3e3482536a0eef47b3571609a2b95 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Tue, 18 Oct 2022 20:44:26 +0200 Subject: [PATCH] fix: comment out user_data_fields in hooks --- red_background/hooks.py | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/red_background/hooks.py b/red_background/hooks.py index 82b942e..f40b123 100644 --- a/red_background/hooks.py +++ b/red_background/hooks.py @@ -151,26 +151,26 @@ # User Data Protection # -------------------- -user_data_fields = [ - { - "doctype": "{doctype_1}", - "filter_by": "{filter_by}", - "redact_fields": ["{field_1}", "{field_2}"], - "partial": 1, - }, - { - "doctype": "{doctype_2}", - "filter_by": "{filter_by}", - "partial": 1, - }, - { - "doctype": "{doctype_3}", - "strict": False, - }, - { - "doctype": "{doctype_4}" - } -] +# user_data_fields = [ +# { +# "doctype": "{doctype_1}", +# "filter_by": "{filter_by}", +# "redact_fields": ["{field_1}", "{field_2}"], +# "partial": 1, +# }, +# { +# "doctype": "{doctype_2}", +# "filter_by": "{filter_by}", +# "partial": 1, +# }, +# { +# "doctype": "{doctype_3}", +# "strict": False, +# }, +# { +# "doctype": "{doctype_4}" +# } +# ] # Authentication and authorization # --------------------------------