LP1659928 SIP is not respecting standing penalties for charge ok and hold ok
authorblake <blake@mobiusconsortium.org>
Thu, 15 Jun 2017 18:39:08 +0000 (13:39 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 10 Aug 2017 21:19:21 +0000 (17:19 -0400)
commit7307537bb0c1c5bcd702313547f5521781ad5a7b
treec023f119e099a219de2b0e29c2098c26c74c3f16
parenta903911387ca31e49f115f5eb2aa4605b7600aaf
LP1659928 SIP is not respecting standing penalties for charge ok and hold ok

This will include the block_list data in the blessed user object. This allows
charge_ok, renew_ok and hold_ok to determine if any of the respective blocks are
present in any of the applied penalties.

To test
-------
[1] Using a SIP emulator, issue a 63 message to fetch information
    about a patron that has nothing preventing it from doing loans,
    renewals, or hold requests, e.g.,

    6300020060329    201700Y         AOevergreen|AA99999384262||

[2] Verify that the first six positions of the response are
    '64  Y '
[3] Apply a standing penalty that blocks circulation and repeat
    step 1. This time, the response should start with '64Y Y '
[4] Apply other standing penalties that block holds or renewals
    and repeate step 1, verifying that the various privileges
    denied positions in the 64 response have expected values.
[5] Archive all of the penalties used during testing, then
    verify that the response returns to '64  Y ...'

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm