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>
Wed, 10 Aug 2022 19:30:41 +0000 (15:30 -0400)
commit3ae5c51b53ff72d3b24f7d4b14fe40984bc54eb7
tree515de9c79836303eed43d325ecd8e699dbd8732d
parentf12c2e695940789fbbc49ea91df2c568849eeec8
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