[Koha-bugs] [Bug 27378] Enable compliance with EU Cookie Legislation via cookie consent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 15:45:28 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27378

--- Comment #19 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 116403
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116403&action=edit
Bug 27378: Delete cookies when consent removed

We have provided the ability for a user to remove previously granted
consent, but we were not removing the cookie associated with that
consent. This was a complete oversight on my part.

I've introduced an additional bit of metadata for each "consent" defined
in the ConsentJS syspref, this allows the admin defining a "consent" to
specify a string (which is treated as a regex) that allows us to
identify a cookie name associated with that consent. So, for example, if
Google Analytics was being added, an identifying string might be '_ga'.
This allows us to subsequently remove a cookie that a previously
granted consent has set.

This commit also adds some missing 'html' filters in
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc and
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list