Bugzilla – Attachment 40996 Details for
Bug 14528
Viewing lists fails silently when not having correct permisison
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14528: Inconsistency in permissions check when listing shelves
Bug-14528-Inconsistency-in-permissions-check-when-.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2015-07-14 15:50:04 UTC
(
hide
)
Description:
Bug 14528: Inconsistency in permissions check when listing shelves
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-07-14 15:50:04 UTC
Size:
1.12 KB
patch
obsolete
>From 2f0af8f7c1273b7f83debe3aad916043b070277b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 14 Jul 2015 16:44:37 +0100 >Subject: [PATCH] Bug 14528: Inconsistency in permissions check when listing > shelves > >The svc script needed borrowers when the shelves.pl needed catalogue. >There is no sense to have different permissions here. > >Test plan: >1/ Remove the borrowers permission to a user >2/ Use this user to log in >3/ Go on the shelf list >4/ Without this patch, you should get an endless "Processing..." which >is fixed if you apply it. >--- > svc/virtualshelves/search | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/virtualshelves/search b/svc/virtualshelves/search >index ef1448c..5e991fc 100755 >--- a/svc/virtualshelves/search >+++ b/svc/virtualshelves/search >@@ -17,7 +17,7 @@ my ($template, $user, $cookie) = get_template_and_user({ > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { borrowers => 1 } >+ flagsrequired => { catalogue => 1 } > }); > > my $shelfname = $input->param('shelfname'); >-- >2.1.0
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 14528
:
40995
|
40996
|
41090
|
43083