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>
Tue, 20 Oct 2020 13:56:30 +0000 (09:56 -0400)
commitdb362f45d93ea2c20cfef886da54fc3530fad5fd
treed7281bde3c31e7edc536606efa1dbb321b4b7b79
parente76317783301adbaf48f4eb142fca773d647c84b
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