]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1378829 Fix long overdue override permission user/jeff/lp1378829_fix_long_overdue_perm
authorJeff Godin <jgodin@tadl.org>
Fri, 14 Apr 2017 14:21:40 +0000 (10:21 -0400)
committerJeff Godin <jgodin@tadl.org>
Fri, 14 Apr 2017 19:20:03 +0000 (15:20 -0400)
commitfaba81f836964f3cf8639c96a881212773cc64ef
treee822d6fbe53bcb05a444e4ed30d8fc39a89e5b1c
parentea4d8b9bcaa982dc06292c8bc72c9ee76ca94f0f
LP#1378829 Fix long overdue override permission

Fix override permission used when checking in a copy that is "long
overdue".

The existing permission was incorrectly created with a code of
COPY_STATUS_LONGOVERDUE.override, while the event thrown requires a
permission with a code of COPY_STATUS_LONG_OVERDUE.override

This commit updates the seed data and a few references to the
old/incorrect permission in documentation, and also includes an
upgrade script designed to accommodate the various likely ways in
which sites may have already locally addressed this issue.

A simple pgtap test is also included.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/t/regress/lp1378829_fix_long_overdue_perm.pg [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix_long_overdue_perm.sql [new file with mode: 0644]
docs/circulation/circulating_items.txt
docs/circulation/circulating_items_web_client.txt