[Koha-bugs] [Bug 33229] Patron reading history should be cleared when privacy set to never

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 21:06:29 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33229

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 148186
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148186&action=edit
Bug 33229: Clear patron reading history when privacy is set to never

This patch adds a check to patron store routine. When privacy is changed
to 'Never' we should immediately clear their history

To test:
1 - Set system preferences:
   AnonymousPatron - to a valid borrowernumber
   OPACPrivacy - Allow
2 - Checkout some items to a patron with priacy set to default, return them
3 - Log in to opac as patron
4 - Confirm you can see your history
5 - Change history to Never
6 - Confirm history still viewable
7 - Apply patch, restart all
8 - Set privacy to Default
9 - Confirm you can still see history, not deleted when not set as Never
10 - Set privacy to 'Never'
11 - Confirm history is anonymized

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list