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 <jeff.davis@bc.libraries.coop>
Wed, 6 Feb 2019 19:15:28 +0000 (11:15 -0800)
commit6d4e24483586a1bf30c3a8f3a057d0e92ca548bf
tree6283ee9b525204fc3376828fad2d0b7297d63e5d
parent43405971832887b5cbe75b6eb2421dd1b09a1baf
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]