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:21:38 +0000 (14:21 -0400)
commit7363b86a5358e03422aae7811cb6397fc7c3a48d
tree6d67cc5756e0d7b01bbc7d6a921ef8ad5ae9c7ad
parent7bf1563a5aada74051bf91ab782b6df5d146b1f5
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