]> git.koha-community.org Git - koha.git/commit
Bug 21939: Fix permissions for holds history tab
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 2 Nov 2019 06:54:31 +0000 (06:54 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 12 Dec 2019 22:48:26 +0000 (22:48 +0000)
commit7213f9c4d3f239dd8176a4901551a6b8d9e6918b
tree50c0b73e1a71c38e6977a85b22b5dc36d45a7b94
parent618c1f80581cfda85db675f9cf69c62576afa2f1
Bug 21939: Fix permissions for holds history tab

The tab will show when the staff user has edit_borrowers
permission, but the page itself will not be accessible.
This patch fixes the page permissions to allow access
with the edit_borrowers permission as suggested by the
comments on the original bug report.

To test:
- Create a staff user with only "edit_borrowers" permission
  from the borrowers module
- Try to access the holds history tab from any patron account
- Verify you are blocked
- Apply patch
- Try again and verify the page is accessible now
- Repeat with superlibrarian and full borrowers permission.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit cd3ef03e76e1441675c90135c42d033bf99f73cd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/holdshistory.pl