Bug 36661

Summary: Right to change the expiry date for staff-type patron
Product: Koha Reporter: Päivi Knuutinen <paivi.knuutinen>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P3 CC: gmcharlt, lmstrand
Version: 22.11   
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 Päivi Knuutinen 2024-04-22 08:53:38 UTC
It should be possible to limit the right to change the expiry date for staff-type patron. We'd like to restrict temporary staff to change their own expiry date, the permission to do it should be restricted to staffaccess permission.
Comment 1 Lari Strand 2024-12-17 14:41:10 UTC
I have a patch in the making for this one. If restricting the modification of a staff account's expiry date is ok by the staffaccess permission, we should change its description too. Presently it says " Allow staff members to modify permissions, usernames, and passwords for other staff members".

How about " Allow staff members to modify permissions, account expiration dates, usernames and passwords for other staff members"?

For example the text that points out a borrower account is expiring says: "Expiration: Patron's card expires on 18.12.2024."

But card numbers are not necessarily mandatory and in the database we are looking at dateexpiry. This is why I suggested "modify account expiration dates" rather than "modify card expiration dates".

Should the text "Patron's card expires/has expired" also be changed to "account expires/expired"? This could be be a separate ticket.