[Koha-bugs] [Bug 27066] Implement hooks for patrons updates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 8 13:16:13 CET 2021


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #9 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Eric Bégin from comment #0)
> Some of our clients use external systems to populate Koha's patron
> information.
> 
> They can use Koha's API to update patron info, however, we don't have any
> way (that I know of) to notify an external system when a patron info is
> changed in Koha.
> 
> In order to allow bidirectional communications, we are planning to add hooks.
> 
> This will allow creating plugins to send messages to external systems in
> order to fulfil the following requirements :
> - Update patron information stored in the borrowers table (name, address,
> email, etc.)
> - Notify an external system when a restriction is placed on a user (fines,
> manual restrictions, overdues, etc.)

Hi, maybe it is an interesting opportunity to look at adding hooks for more
fine grained things. Because in that hook, it seems you will end up checking
all those things (DB access). And if the hooks were added to other places like
when a debarment is generated, then you would have the debarment object in
context, and no DB access would be required.

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


More information about the Koha-bugs mailing list