]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1378829 Fix long overdue override permission
authorJeff Godin <jgodin@tadl.org>
Fri, 14 Apr 2017 14:21:40 +0000 (10:21 -0400)
committerJason Stephenson <jason@sigio.com>
Sat, 6 May 2017 18:20:00 +0000 (14:20 -0400)
commit637c1cf18360644be0845d5bca0284b31047ae74
tree9e2983dbd116e633e3e950a791da892f6bcac444
parentd0641281143e17083c7fa078c98d9684116b8f92
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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
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.adoc
docs/circulation/circulating_items_web_client.adoc