]> git.koha-community.org Git - koha.git/commit
Bug 20819: Add check in get_template_and_user to enforce GDPR
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 28 May 2018 12:59:31 +0000 (14:59 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 20 Sep 2018 13:45:26 +0000 (13:45 +0000)
commit6f2a0acc2d614e630deabba872a136de6e6aa349
tree74e1ab2a1fb2eb4ce3f969b5a9ad2ae88fea44c8
parentdac230963dd69fe7a07b13ab69512728fce9f9fd
Bug 20819: Add check in get_template_and_user to enforce GDPR

If you choose to enforce GDPR policy, a user needs to give consent for
data processing before he does something else in the OPAC while being
logged in.

Test plan:
[1] Set GDPR_Policy to Disabled or Permissive. Usual behavior.
[2] Set to Enforced. Save a refusal on your consents. Notice that
    you are logged out when saving. When you login again, all OPAC
    requests are redirected to your consents tab.

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>
C4/Auth.pm