LP1411819 stamp upgrade script and add release notes
authorJane Sandberg <sandbergja@gmail.com>
Wed, 26 Oct 2022 04:08:04 +0000 (21:08 -0700)
committerJane Sandberg <sandbergja@gmail.com>
Wed, 26 Oct 2022 04:08:04 +0000 (21:08 -0700)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1342.permit-renew-when-exceeds-fines.sql [moved from Open-ILS/src/sql/Pg/upgrade/XXXX.permit-renew-when-exceeds-fines.sql with 99% similarity]
docs/RELEASE_NOTES_NEXT/Administration/renewal_on_max_fines.adoc [new file with mode: 0644]

index a440396..991f4ee 100644 (file)
@@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1341', :eg_version); -- miker/sandbergja/dyrcona/blake
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1342', :eg_version); -- jeffdavis/blake/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
@@ -1,5 +1,7 @@
 BEGIN;
 
+SELECT evergreen.upgrade_deps_block_check('1342', :eg_version);
+
 INSERT INTO config.org_unit_setting_type
     (name, label, datatype, description, grp, update_perm, view_perm) 
 VALUES (
diff --git a/docs/RELEASE_NOTES_NEXT/Administration/renewal_on_max_fines.adoc b/docs/RELEASE_NOTES_NEXT/Administration/renewal_on_max_fines.adoc
new file mode 100644 (file)
index 0000000..83f203f
--- /dev/null
@@ -0,0 +1,8 @@
+== Optionally allow patrons to renew after hitting fine maximum ==
+
+When a patron hits the max fine limit, a standing penalty is applied to their account. By default, that penalty (PATRON_EXCEEDS_FINES)
+is configured to block renewals.
+
+This release adds a new org unit setting, _circ.permit_renew_when_exceeds_fines_.  If enabled for a particular org unit, renewals are
+permitted (as long as all other circulation eligibility criteria are met).
+