Bug 7018 : need all acq permissions to search
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Wed, 27 Feb 2013 10:16:24 +0000 (11:16 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Mar 2013 12:05:04 +0000 (08:05 -0400)
commita06fd2225b37be8a8d2349c5929bc4877b47b547
treeb6e5b41b8206efbd337397f725b791cb08641d3e
parent5ca45b846acdc84ba9cb4ea4583fcaa4012d5edf
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>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as expected and passes tests.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
acqui/histsearch.pl