]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1849334 - Protect precat volumes from accidental staff edits user/csharp/lp1849334_protect_precat_volume
authorChris Sharp <csharp@georgialibraries.org>
Fri, 22 Nov 2019 20:18:57 +0000 (15:18 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 22 Nov 2019 20:18:57 +0000 (15:18 -0500)
commitaa5993f13168b0991d461e09a3f3d00d80b9d181
tree0241464430f679dcfc49d38fb0b1db11216fba8c
parent87a962268ee33ea9bbb55af7b2ed680ff1be0f30
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