[Koha-bugs] [Bug 30780] Librarians with only "place_holds" permissions can not update holds data via REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 17 08:09:25 CEST 2022


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

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |johanna.raisa at koha-suomi.fi
                   |ity.org                     |

--- Comment #1 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 135052
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135052&action=edit
Bug 30780: Librarians with only "place_holds" permissions can  not update holds
data via REST API

This patch enables librarians with only "place_holds" permissions to cancel,
suspend and resume holds via REST API.

Test plan:
1) Try to cancel or suspend a hold with only "place_holds" permissions
2) See that it is forbidden.
3) Apply the patch
4) Cancel a hold again
5) The cancellation succeeds
6) prove t/db_dependent/api/v1/holds.t

Sponsored-by: Koha-Suomi Oy

-- 
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