Bug 20954: Add ability to set syspref overrides in SIP as we can in apache
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jun 2018 13:03:43 +0000 (13:03 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 13 Aug 2019 10:47:36 +0000 (11:47 +0100)
commit9cbaec2a94aaef2d946a6d1dea57af5f9ff4e22c
treec80d8bdade931bb2abe06b0d05dc15dfab65f25a
parentc13de8ca6566c7ad7f6702e6372192765176becd
Bug 20954: Add ability to set syspref overrides in SIP as we can in apache

We should be able to set system preference overrides for SIP in a
similar manner that we do in Apache. It would be great if we could
specify those overrides on both a config level, and login level basis.

Test Plan:
 1) Apply this patch
 2) Start your SIP server
 3) Enable the syspref AllFinesNeedOverride
 4) Find or create a patron with a small fine ( less than noissuescharge )
 5) Attempt to check out an item to the patron, it should fail
 6) Add the global syspref override from the bottom of the example SIP config file
 7) Restart your SIP server
 8) Attempt to check out an item to the patron again, this time it should work
 9) Now, add the login level syspref override section as it appears in
    the eaxmple SIP config file. Make sure to add it to the login you are using
10) Attempt to check out another item to the patron, this time is should
    again fail

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml