Bug 36464

Summary: A guarantee can add a staff guarantor
Product: Koha Reporter: Esther Melander <esther.melander>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: 23.05   
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 Esther Melander 2024-03-29 17:22:57 UTC
Generally speaking Staff cannot be a guarantor. Bug 36169 asks to add the ability to allow staff to be a guarantor.

Currently it is not possible to add a guarantee from a staff account. However, it is still possible to add a staff guarantor from a guarantee account. Either this should be disabled or a warning provided.

To replicate:

1. Find a staff account to have ready.
2. Find another non-staff patron account - ensure the patron category can be a guarantee.
3. Edit the patron account.
4. Under the section for Patron Guarantor - Add guarantor.
5. Search for the staff account and select.
6. Save the patron record.
7. Pull up the staff account and see they are now a guarantor.