[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 16 11:55:26 CEST 2023


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #150968|0                           |1
        is obsolete|                            |

--- Comment #89 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 151255
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151255&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: Silvia Meakins <smeakins at eso.org>
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