Bugzilla – Attachment 15721 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]
[reopened] Proposed patch
0001-Bug-7018-need-all-acq-permissions-to-search.patch (text/plain), 1.37 KB, created by
Fridolin Somers
on 2013-02-27 10:23:13 UTC
(
hide
)
Description:
[reopened] Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-02-27 10:23:13 UTC
Size:
1.37 KB
patch
obsolete
>From 76ddc1330ddf873c858b437021a6cc3aa8e83d4c 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) >- 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 >--- > acqui/histsearch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl >index 1ffbffe..971fc18 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.10.4 >
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