Bug 35758 - Background jobs should not log personal data apart from borrowernumber
Summary: Background jobs should not log personal data apart from borrowernumber
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 30889
Blocks:
  Show dependency treegraph
 
Reported: 2024-01-10 13:19 UTC by Katrin Fischer
Modified: 2024-01-22 01:49 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2024-01-10 13:19:20 UTC
When looking at the background_jobs table the column context contains a lot of personal information that is not necessary for the purpose of this table:

* firstname
* surname
* email address

This makes it hard to share data for debugging. It's also end user information, not only staff accounts. 

Example: If the library is using Elasticsearch, renewing items in the OPAC will create a reindex job entry for each biblionumber. This will be logged with the context of the patron.

There is no reason to duplicate this data into the context table, we can save space and avoid headaches by removing this information.