]> git.koha-community.org Git - koha.git/commit
Bug 14244: viewing a bib item's circ history requires circulation permissions
authorThomas Misilo <misilot@fit.edu>
Wed, 16 Sep 2015 17:43:28 +0000 (13:43 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 07:54:28 +0000 (08:54 +0100)
commitfd51df2ccfc3a52676dd1a1922cbd05fc546a61e
tree26881f1e9d1097296d6bb53facfa86ea8eba93bf
parentf0198977186b722e43f9489d6a44856b9603f1ed
Bug 14244: viewing a bib item's circ history requires circulation permissions

On issuehistory.pl you have:

 flagsrequired   => { circulate => "circulate_remaining_permissions" },

But that really doesn't make sense. People should be able to view the history of circulation without having permission to circulate items themselves

This patch changes the required permissions from circulate to catalogue.

Test Plan:
1. Login as user without the circulate_remaining_permissions
2. Attempt to view Circulation History of an Item
3. Does not work
4. Apply Patch
5. Attempt to view circulation history with a user that has access to the staff side.
6. Can view circulation history now

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit e8c5fb11fbebc86742325aea745bc7253d9110d8)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit a835060b9c10272fccf5262f5c77cc9d0031de7f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
catalogue/issuehistory.pl