Bug 38219

Summary: Add option for only the patron's home library to delete patron messages placed by any library
Product: Koha Reporter: Jason Robb <jrobb>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: blawlor, george, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jason Robb 2024-10-21 16:01:32 UTC
Currently we have the options to "Allow" or "Don't Allow" staff to delete messages added from other libraries in the AllowAllMessageDeletion syspref.

We generally don't want libraries deleting messages of other libraries' patrons, so we have that set to "Don't Allow".

This creates extra work when a patron moves and switches home libraries. If there are trivial messages that need deleted, the new home library must contact the library that placed the messages to have them removed.

It would be helpful to have a third option that allows staff to delete messages from any library, but only if the staff's logged in library matches the patron's home branch.

In other words, allow a library to manage messages on their own patron accounts regardless of who placed the message without allowing staff to manage messages on the patrons of other libraries.