Bugzilla – Attachment 141513 Details for
Bug 31495
Allow viewing CMS pages when enforcing GDPR policy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31495: Allow opac-page when enforcing GDPR policy
Bug-31495-Allow-opac-page-when-enforcing-GDPR-poli.patch (text/plain), 1.24 KB, created by
Kyle M Hall (khall)
on 2022-10-07 14:49:04 UTC
(
hide
)
Description:
Bug 31495: Allow opac-page when enforcing GDPR policy
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-10-07 14:49:04 UTC
Size:
1.24 KB
patch
obsolete
>From 4ef2ec7cc81d14f318ee2a07423e7a9299c8fd9b Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 31 Aug 2022 11:57:16 +0000 >Subject: [PATCH] Bug 31495: Allow opac-page when enforcing GDPR policy > >Test plan: >Add some page under Additional contents. >Enforce GDPR policy. >Test with user that has no consent (yet or anymore). >Check if you can reach additional contents with opac-page.pl. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index a006baa8d8..2560a8ee9d 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -192,7 +192,7 @@ sub get_template_and_user { > # If we enforce GDPR and the user did not consent, redirect > # Exceptions for consent page itself and SCI/SCO system > if( $in->{type} eq 'opac' && $user && >- $in->{'template_name'} !~ /^(opac-patron-consent|sc[io]\/)/ && >+ $in->{'template_name'} !~ /^(opac-page|opac-patron-consent|sc[io]\/)/ && > C4::Context->preference('GDPR_Policy') eq 'Enforced' ) > { > my $consent = Koha::Patron::Consents->search({ >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31495
:
140001
|
140643
| 141513