Bug 40595 - Privacy setting when changing patron category
Summary: Privacy setting when changing patron category
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-05 13:35 UTC by Kalle Karlsson
Modified: 2025-09-17 08:02 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Karlsson 2025-08-05 13:35:45 UTC
When a patron's category is changed, the associated privacy setting (privacy) is not updated accordingly.

For example, if the original category has privacy = 1 and the new category has privacy = 0, the patron's privacy setting remains at 1 after the change, instead of reflecting the new category's setting.

This is problematic for clients who use specific patron categories to control whether circulation history should be stored and displayed.
Comment 1 Lari Taskula 2025-09-17 08:02:12 UTC
We should also take into account patrons that have manually chosen another setting different from the category default.

For example, if the original category has privacy = 1 and the new category has privacy = 0, but the patron has manually chosen privacy = 2, we should not overwrite their choice.