From 35921d30a99f3f4c4cdb21438c8516444a10f24c Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Fri, 5 Apr 2019 10:03:58 +0200 Subject: [PATCH] Bug 22646: Fix use of PrivacyPolicyURL To test: PatronSelfRegistration = Allow PatronSelfRegistrationDefaultCategory = PT (or some other real category) GDPR_Policy = Enforced PrivacyPolicyURL = Some URL - Go to /cgi-bin/koha/opac-memberentry.pl and verify that the text "privacy policy" displays a link to the current page, not the URL in PrivacyPolicyURL - Go to Administration > System preferences > Patrons > Privacy - Verify that the descriptions of GDPR_Policy and PrivacyPolicyURL does not mention that PrivacyPolicyURL needs to be set if GDPR_Policy is set. - Apply the patch - Verify that opac-memberentry.pl now links to the URL in PrivacyPolicyURL - Verify that the syspref descriptions mention the relationship between them Signed-off-by: Liz Rea Signed-off-by: Bin Wen Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../prog/en/modules/admin/preferences/patrons.pref | 2 ++ koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref index a014372c47..f8c63d5f2b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref @@ -233,6 +233,7 @@ Patrons: - Use the following URL - pref: PrivacyPolicyURL - to refer to your local privacy policy in messages about privacy and data protection. (If you enforce GDPR policy, make sure that this page is not blocked.) + - "
NOTE: The URL will only be displayed if GDPR_Policy is set." - - Set GDPR policy to - pref: GDPR_Policy @@ -241,3 +242,4 @@ Patrons: Enforced: 'Enforced' Permissive: 'Permissive' - "GDPR is the EU General Data Protection Regulation. When you enforce, patrons need to give consent before using the OPAC. If you set to permissive, Koha will warn but not enforce." + - "
NOTE: If you enable this you will also have to set the URL of your public privacy policy with the PrivacyPolicyURL setting." diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index daf56b8d45..862091afe9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -903,7 +903,7 @@ GDPR consent
  1. - I agree with your processing of my personal data as outlined in the privacy policy. Required + I agree with your processing of my personal data as outlined in the privacy policy. Required
-- 2.39.5