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, 25 Nov 2020 16:43:06 +0000 (11:43 -0500)
commit92a1a41127d513658b69d5f6bf85c095ca4ff8a8
treeb28c21d41ca8f22bc76e95ed428571ac822d12cf
parentf5cb85b45a2a7dfa6a3b4d5964a034656513e622
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