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, 14 Sep 2021 18:02:25 +0000 (14:02 -0400)
commit6ed5be5cd336a588f3560124d3d395f79cc3d224
treef5171be24c699de02eb3798a80bcbe803ceb363a
parent35fc2bb635eec6af0efcb9170986ba0966ac17cc
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