Bugzilla – Attachment 15781 Details for
Bug 7018
need all acq permissions to search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7018 : need all acq permissions to search
Bug-7018--need-all-acq-permissions-to-search.patch (text/plain), 1.47 KB, created by
MJ Ray (software.coop)
on 2013-02-28 17:01:24 UTC
(
hide
)
Description:
Bug 7018 : need all acq permissions to search
Filename:
MIME Type:
Creator:
MJ Ray (software.coop)
Created:
2013-02-28 17:01:24 UTC
Size:
1.47 KB
patch
obsolete
>From 5eefeb1a3fab0e08a86b6b7bd5571b50dad104d5 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 27 Feb 2013 11:16:24 +0100 >Subject: [PATCH] Bug 7018 : need all acq permissions to search > >All acquisition module permissions are needed to allow order search (acqui/histsearch.pl). > >With this patch any acquisition permission allows to order search. >Many other pages of this module have this behavior. > >Test plan : >- Set for a user only one permission in acquisition module (not order_receive) >=> they also need catalogue permission to be able to log in >- Login with this user and try to perform an order search >=> you get access to page >- Set for a user no permission in acquisition module >- Login with this user and try to perform an order search >=> you do not get access to page > >Signed-off-by: MJ Ray <mjr@phonecoop.coop> >--- > acqui/histsearch.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl >index e89bcae..7545ef0 100755 >--- a/acqui/histsearch.pl >+++ b/acqui/histsearch.pl >@@ -83,7 +83,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { acquisition => 'group_manage', acquisition => 'order_manage', acquisition => 'order_receive' }, >+ flagsrequired => { acquisition => '*' }, > debug => 1, > } > ); >-- >1.7.2.5
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 7018
:
7506
|
7653
|
7671
|
15721
|
15781
|
16481