[Koha-bugs] [Bug 20794] Don't show holds tab when user doesn't have circulate_remaining_permissions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 11 11:21:17 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20794
Amit Gupta <amitddng135 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #75447|0 |1
is obsolete| |
CC| |amitddng135 at gmail.com
--- Comment #2 from Amit Gupta <amitddng135 at gmail.com> ---
Created attachment 75944
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75944&action=edit
Bug 20794: Hide holds tab on details when user lacks
circulate_remaining_permissions
Work OK
---------------
Test
If a user doesn't have circulate_remaining permissions, but has borrowers:
- checkouts tab is hidden
- details tab is visible
- holds tab on details is visible, but results in an error
The problem is that the svc/holds script requires
circulate_remaining_permissions.
To test:
- Create 2 staff users with and without circulate_remaining_permissions
Both need borrowers permission
- Go to the details tab in a patron's account who has holds
- Verify that you get a datatables error for the staff patron without
circulate_remaining_permissions
- Apply patch
- Verify that now the holds tab is no longer displayed for this patron
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list