Bug 41434 - Add a way to apply view_borrower_infos_from_any_libraries permission to specific patron categories
Summary: Add a way to apply view_borrower_infos_from_any_libraries permission to speci...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-11 19:22 UTC by Koha collecto
Modified: 2025-12-11 19:22 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
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 Koha collecto 2025-12-11 19:22:57 UTC
If the view_borrower_infos_from_any_libraries permission is not given to a staff member, all patron's files from other libraries will be hidden. But in some case, it would be interesting to be able to hide only the patrons from specific  categories.

Let's say someone works in a school district. The students are not allowed to checkout books from other schools but the school staff like the teachers can. In that case, we don't want the library staff to see the other school's student's files, but they need to be able to see the teacher's files.

Could a system preference could be use for that ? Something like "CategoriesForViewBorrowerPermission" and we would have a menu such as the one in BatchCheckoutsValidCategories preference. In my example, we would only choose the teacher's category.