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:08:50 +0000 (06:08 -0500)
commitfaa0d5fd752ca573a06a8bb845e6e56bcd65418c
tree2d0cab22ba2df32e466c3975c1b924a327ada673
parent814a33079758f7c552efbfed53dd67d5e726f935
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