[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 May 26 14:18:22 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27378
Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #135315|0 |1
is obsolete| |
--- Comment #108 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 151741
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151741&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
Signed-ff-by: Barry Cannon <bc at interleaf.ie>
(cherry picked from commit 13bea186b66e1fd02ddad1327c073a64701edb12)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list