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

--- Comment #10 from Lucas Gass (lukeg) <[email protected]> ---
Created attachment 203129
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203129&action=edit
Bug 42916: Add PUT /holds/{hold_id}/expiration_date

To test:
1. APPLY PATCH, restart_all, yarn build
2. Have a superlibrarian, staff user with place_holds permission, and staff
user without place_holds permission
3. Have at least 1 hold, note the expiration date and the hold ID.
4. Use your favorite API tool to make a request o update the hold expiration
date.
5. Make the request as superlibrarian, staff user with place_holds permission,
and staff user without place_holds permission. It should work for the
superlibrarian and the staff user with place_holds permission. The expiration
date should be updated.
6. The staff user without place_holds permission should get something like:
    Authorization failure. Missing required
permission(s).","required_permissions":{"reserveforothers":"modify_holds_priority

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to