Bug 40251

Summary: Icon for self-check user permission
Product: Koha Reporter: hebah
Component: PatronsAssignee: Andrew Fuerste-Henry <andrew>
Status: Needs documenting --- QA Contact: Pedro Amorim <pedro.amorim>
Severity: enhancement    
Priority: P5 - low CC: andrew, fridolin.somers, gmcharlt, kyle, lucas, pedro.amorim
Version: MainKeywords: release-notes-needed
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.04
Circulation function:
Bug Depends on:    
Bug Blocks: 40274    
Attachments: Bug 40251: Add icons to patron details for selfcheck users
Bug 40251: Add icons to patron details for selfcheck users
Bug 40251: Add icons to patron details for selfcheck users

Description hebah 2025-06-26 15:38:42 UTC
Koha displays icons for users with catalogue permissions, super librarian users, and protected users. But it would be nice if there was an easy way to see that an account is also a self-check user with either self_checkout_module or self_checkin_module since those users have only those permissions and not catalogue.

This would also make troubleshooting easier to be able to see at a glance, both for ruling out permissions issues with the self-check module itself AND in cases where users who shouldn't have it do, since self_checkout_module creates permissions conflicts on staff accounts if selected by accident.
Comment 1 Andrew Fuerste-Henry 2025-06-27 14:08:53 UTC
Created attachment 183606 [details] [review]
Bug 40251: Add icons to patron details for selfcheck users

To test:
1: have patrons with self_check, self_checkin_module, and self_checkout_module permissions
2: observe that these patrons don't get icons by their names in the patroninfo sidebar
3: apply patch, restart_all
4: reload your patrons, see they now have icons for self checkout and/or self check-in
Comment 2 Eric Garcia 2025-06-30 16:45:18 UTC
Created attachment 183645 [details] [review]
Bug 40251: Add icons to patron details for selfcheck users

To test:
1: have patrons with self_check, self_checkin_module, and self_checkout_module permissions
2: observe that these patrons don't get icons by their names in the patroninfo sidebar
3: apply patch, restart_all
4: reload your patrons, see they now have icons for self checkout and/or self check-in

Signed-off-by: Eric Garcia <cubingguy714@gmail.com>
Comment 3 Pedro Amorim 2025-08-05 14:43:18 UTC
Created attachment 185124 [details] [review]
Bug 40251: Add icons to patron details for selfcheck users

To test:
1: have patrons with self_check, self_checkin_module, and self_checkout_module permissions
2: observe that these patrons don't get icons by their names in the patroninfo sidebar
3: apply patch, restart_all
4: reload your patrons, see they now have icons for self checkout and/or self check-in

Signed-off-by: Eric Garcia <cubingguy714@gmail.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
Comment 4 Lucas Gass (lukeg) 2025-08-14 22:09:19 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-09-20 08:58:19 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 6 Fridolin Somers 2025-10-10 11:41:12 UTC
I prefer not backport to 24.11.x for UI stability