LP1929593 UPDATE_COPY_BARCODE permission
This adds the permission UPDATE_COPY_BARCODE and a new API call,
open-ils.cat.update_copy_barcode
which explicitly tests for both UPDATE_COPY_BARCODE and UPDATE_COPY,
with either being sufficient for allowing a barcode change. Existing
Replace Barcode UI's in both Angular and AngularJS have been modified
to use this API call instead of the pcrud service. One side-effect of
this has been better surfacing of errors, as errors in pcrud were
uncaught and bypassing the normal error handling. This addresses
LP1951469.
The upgrade script gives any permission groups that already have the
UPDATE_COPY permission the new UPDATE_COPY_BARCODE permission at the
same depth, though it's technically not needed.
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>