LP#1715767: Allow others to use my account (privacy waiver)
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 7 Feb 2018 23:11:18 +0000 (15:11 -0800)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 11 May 2018 21:29:44 +0000 (14:29 -0700)
commit24331a1b2b33215f23aa805b7aa4940a9d8de78d
treeec34a385b6f9143dbf7b7b5b81ca8b7bb24749c4
parent9100dd6dddb81fdfcd341448e05543665bd37187
LP#1715767: Allow others to use my account (privacy waiver)

Use case: Jane Doe has a hold ready for pickup but is unable to come
into the library.  Her husband John Doe goes to the library to pick up
the hold on her behalf.  His name is listed on Jane's account, so
library staff know it's okay to check out the book on Jane's account and
give it to John.

This commit adds a new table which lists the names of people who are
allowed to place holds, pick up holds, check out items, or view
borrowing history for a user account.  Staff can add, edit, or remove
entries via the patron editor in the web client; patrons can do so in My
Account.  The entries are not linked to other user accounts and they do
not add any extra functionality.  They are essentially special patron
notes for circulation staff.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
13 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.privacy_waiver.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.actor.privacy_waiver.sql [new file with mode: 0644]
Open-ILS/src/templates/opac/myopac/prefs_settings.tt2
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/src/templates/staff/circ/patron/t_summary.tt2
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
Open-ILS/web/js/ui/default/staff/services/user.js
docs/RELEASE_NOTES_NEXT/Circulation/privacy_waiver.adoc [new file with mode: 0644]