Mark email addresses and phone numbers invalid
This closely follows an idea from Jeff Godin. For staff to indicate an
email address or phone number "invalid," for whatever definition of
"invalid" has meaning at the institution (as in invalid addresses
today), there is now a UI control in the patron editor.
This UI control invokes a middle layer method that will clear the email
(or phone) field from actor.usr, and [both optionally, per OU setting] 1)
create a corresponding standing penalty against the user, for staff to
notice next time they bring up said patron in the staff client, and 2)
create a patron note. Related penalties (but not notes) will be cleared
whenever that patron's email address or phone number is updated again.
The middle layer method is a wrapper around a method that may take
other parameters (like an email address instead of a patron ID) to
potentially support future uses such as invalidating email addresses
automatically in batch.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
15 files changed: