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>
Fri, 13 Dec 2019 20:16:10 +0000 (15:16 -0500)
commitc5c1cbb11ea174d374a4892528631ffb4341691f
treec4faac75dcfc0af8058c90919185fda51ec0f3c8
parent1d55705e1d38a02f480a5e25cf8892423c73c570
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