]> git.evergreen-ils.org Git - Evergreen.git/commit
Return calculated value for SIP recall_ok test
authorBill Erickson <berick@esilibrary.com>
Wed, 26 Dec 2012 15:29:30 +0000 (10:29 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 13 Mar 2013 17:32:34 +0000 (13:32 -0400)
commitd54eed44b4bd4db503c8dd032dfe5c3559dc441a
tree82cbfdb406972840ff93b75b9b24b7c7f2a9cf8f
parente99fda5591a608b85276c221302ce1c416093259
Return calculated value for SIP recall_ok test

Determine the value for the "recall OK" testing for patron information
requests the same we we determine the value for ciruclations and holds.
Previously, the recall-OK test always returned false, presumably since
recalls are not currently supported in Evergreen SIP.

Note that like holds and circs, we determine whether a user has good
standing based on the users penalties and whether the user is active /
non-barred.  Though we could in some cases, we are not checking whether
the user has the required permission to perform specific tasks.

This feature is enabled via a new oils_sip.xml configuration option:

<option name='patron_calculate_recal_ok' value='true' />

This option is disabled by default.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/examples/oils_sip.xml.example
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm