[Koha-bugs] [Bug 30230] Search for patrons in checkout should not require edit_borrowers permission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 22 00:41:28 CET 2023


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

--- Comment #18 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #12)
> In theory, the REST API was a good idea, but I think we've approached it a
> bit naively. 
> 
> Rather than search using GET /api/v1/patrons, I reckon we should be POSTing
> to something like /api/v1/patrons/search, which can perform more nuanced
> operations. And we are looking into more nuanced operations but that's also
> challenging in its own way (especially from a performance perspective). 

Actually, something like /api/v1/circ/search/patrons might be better.
(Jonathan's ERM and preservation have shown how it's useful to organise
endpoints under a module path.)

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


More information about the Koha-bugs mailing list