[Koha-bugs] [Bug 30979] Add ability for OPAC users to checkout to themselves

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 9 16:45:58 CEST 2023


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

--- Comment #60 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 150870
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150870&action=edit
Bug 30979: Add public endpoints

This patch expands the checkouts endpoints to allow for a public workflow.

We add the availability endpoint under `/public/checkouts/availability`
and restrict the information we send back to only those fields a public
user should be allowed to see.

We also add a new checkout endpoint at `/patrons/{patron_id}/checkouts`
that allows for users to checkout to themselves and accepts the same POST
request with checkout details including item_id and a confirmation token
in the body that the staff client endpoints accept.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list