LP#1849334 - Protect precat volumes from accidental staff edits
authorChris Sharp <csharp@georgialibraries.org>
Fri, 22 Nov 2019 20:18:57 +0000 (15:18 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 25 Nov 2019 11:09:15 +0000 (06:09 -0500)
commit55755b952305492af72ee0b93d81b284b3b7bd4e
tree820caffb1bea402f9853f7087505c1435a0aca89
parent31c0ac08282a31261365b09862d5b55d2d7fdaf1
LP#1849334 - Protect precat volumes from accidental staff edits

It is possible to edit the precat volume (id = -1) in a batch
volume/copy edit in the webclient.  We assume that valid changeable
volumes have an id > 0, then allow changes.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm