[Koha-bugs] [Bug 21939] Permission for holds history tab is too strict

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 4 10:14:21 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21939

Séverine Queune <severine.queune at bulac.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94972|0                           |1
        is obsolete|                            |

--- Comment #4 from Séverine Queune <severine.queune at bulac.fr> ---
Created attachment 94991
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94991&action=edit
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 at bulac.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list