Bugzilla – Attachment 29063 Details for
Bug 11715
Z39.50 search page does not check authorization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11715: Set the default of authnotrequired = 0 in get_template_and_user
Bug-11715-Set-the-default-of-authnotrequired--0-in.patch (text/plain), 1.28 KB, created by
Katrin Fischer
on 2014-06-19 21:55:24 UTC
(
hide
)
Description:
Bug 11715: Set the default of authnotrequired = 0 in get_template_and_user
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-06-19 21:55:24 UTC
Size:
1.28 KB
patch
obsolete
>From b83a78aa3175dbcefdc852d201cdf95d3b425819 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Tue, 11 Mar 2014 10:51:00 +1300 >Subject: [PATCH] Bug 11715: Set the default of authnotrequired = 0 in > get_template_and_user > >To test: > >Verify that pages in the OPAC and staff interface display correctly. > >Note that there are cases where 'authnotrequired' was not passed >at all to get_template_and_user, so there may be pages that start >requiring authentication. Whether that is correct or not depends >on context. > >Follow up patches are to remove all the unnessecary setting of this >value, so that the only places we set are when we do want >authnotrequired=1 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Signed-off-by: Galen Charlton <gmc@esilibrary.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > C4/Auth.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 95b2717..b4cab30 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -137,6 +137,7 @@ sub get_template_and_user { > > C4::Context->interface($in->{type}); > >+ $in->{'authnotrequired'} ||= 0; > my $template = C4::Templates::gettemplate( > $in->{'template_name'}, > $in->{'type'}, >-- >1.8.3.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 11715
:
26039
|
26040
|
26388
|
27393
|
27394
|
27395
|
27684
|
27685
|
27686
|
27775
|
27776
|
27777
|
27778
|
27912
|
27913
|
27914
|
27915
|
27916
|
29063
|
29064
|
29065
|
29066
|
29067
|
29068
|
29069
|
29070
|
29071
|
29072