Anonymize closed loans setting of "Immediately" and setting of "X interval after fee/fine closes"
Description
Purpose: Create settings in UI for users to anonymize closed loans.
As a staff member, I want loans with fines and fees to be anonymized based on different criteria than other loans, so that the library doesn't lose important financial information so that their circulation history is private & the library complies with regulations on privacy.
Scenarios
Scenario
Given:
An Anonymize closed loans setting of "Immediately"
An Anonymize closed loans with associated fees/fines setting of "X interval after fee/fine closes"
An open loan with an associated fee/fine
When the item in the loan is checked in
Then do not anonymize the loan
Scenario
Given:
An Anonymize closed loans setting of "Immediately"
An Anonymize closed loans with associated fees/fines setting of "X interval after fee/fine closes"
A closed loan with an associated fee/fine
When all fees/fines associated with the loan are closed, and X interval has elapsed after the fees/fines have closed
Then anonymize the loan
Note: By far the most likely scenario is that a library has their loans set up to be anonymized either immediately or after X interval, but never or after a much longer interval anonymizes any loans that have fees/fines associated with them.
Notes:
tested on folio-snapshot 11/13 - this passes scenarios, but does it need additional tests?
Purpose: Create settings in UI for users to anonymize closed loans.
As a staff member, I want loans with fines and fees to be anonymized based on different criteria than other loans, so that the library doesn't lose important financial information so that their circulation history is private & the library complies with regulations on privacy.
Scenarios
Scenario
Given:
An Anonymize closed loans setting of "Immediately"
An Anonymize closed loans with associated fees/fines setting of "X interval after fee/fine closes"
An open loan with an associated fee/fine
When the item in the loan is checked in
Then do not anonymize the loan
Scenario
Given:
An Anonymize closed loans setting of "Immediately"
An Anonymize closed loans with associated fees/fines setting of "X interval after fee/fine closes"
A closed loan with an associated fee/fine
When all fees/fines associated with the loan are closed, and X interval has elapsed after the fees/fines have closed
Then anonymize the loan
Note: By far the most likely scenario is that a library has their loans set up to be anonymized either immediately or after X interval, but never or after a much longer interval anonymizes any loans that have fees/fines associated with them.
Notes:
tested on folio-snapshot 11/13 - this passes scenarios, but does it need additional tests?