[Koha-bugs] [Bug 17765] Hide 'Holds' link in staff result list when user has no permission to place holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 18 02:50:10 CET 2018


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

--- Comment #3 from Zoe Bennett <zoebennett1308 at gmail.com> ---
Created attachment 70662
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70662&action=edit
Bug 17765: Changed variable $flags to $userflags to eliminate the issue of
masking declaration in the same scope. Hides 'Holds' link on the 'Details' and
'Checkout' pages when the user does not have the permission to
'reserveforothers'.

Test Plan:
1) With a user who has the permission to 'reserveforothers' check that the
'Holds' link is on the 'Details' and 'Check out' pages
2) Then with a user who does not have the permission to 'reserveforothers'
check that on the 'Details' and 'Check out' pages there is no longer the
'Holds' link next to the 'Checkouts' and 'Fines & Charges' tabs.

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


More information about the Koha-bugs mailing list