Bug 20819: Add consent to self-registration process
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 31 May 2018 10:29:59 +0000 (12:29 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 20 Sep 2018 13:45:26 +0000 (13:45 +0000)
commitf6eb46151626aba7da3490aac726f17d6a19d866
tree8fbf337daa7b153fc68ca7a4c9a22a490dd90e35
parent6f2a0acc2d614e630deabba872a136de6e6aa349
Bug 20819: Add consent to self-registration process

We add a section for the GDPR consent in opac-memberentry (only for the
self-registration). Not when editing personal details.

Test plan:
[1] Enable selfregistration (with confirm) and GDPR policy.
[2] Register a new account in OPAC. Verify that the GDPR checkbox is
    required.
[3] After you submit, you should see a date in borrower_modifications
    field gdpr_proc_consent.
[4] When you confirm, verify that the consent is visible on your consents.
[5] Enable selfregistration without confirmation mail. Register again.
[6] Check your consents tab again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
opac/opac-memberentry.pl
opac/opac-registration-verify.pl