Bugzilla – Attachment 105157 Details for
Bug 25411
Plugin routes cannot have anonymous access
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25411: Group conditions in if elsif
Bug-25411-Group-conditions-in-if-elsif.patch (text/plain), 791 bytes, created by
Jonathan Druart
on 2020-05-20 15:14:53 UTC
(
hide
)
Description:
Bug 25411: Group conditions in if elsif
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-20 15:14:53 UTC
Size:
791 bytes
patch
obsolete
>From ae70fb34464d114835d186600cb75fcb37748026 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 May 2020 17:12:56 +0200 >Subject: [PATCH] Bug 25411: Group conditions in if elsif > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/REST/V1/Auth.pm | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/Koha/REST/V1/Auth.pm b/Koha/REST/V1/Auth.pm >index 481b081010..a4bb7ae233 100644 >--- a/Koha/REST/V1/Auth.pm >+++ b/Koha/REST/V1/Auth.pm >@@ -69,9 +69,7 @@ sub under { > > if ( $namespace eq 'public' ) { > $is_public = 1; >- } >- >- if ( $namespace eq 'contrib' ) { >+ } elsif ( $namespace eq 'contrib' ) { > $is_plugin = 1; > } > >-- >2.20.1
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 25411
:
104968
|
104969
|
104978
|
104979
|
105155
|
105156
| 105157 |
106084
|
106085