Bug 40064

Summary: Users with limited cataloging permissions cannot access cataloging search
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Caroline Cyr La Rose 2025-06-03 20:00:40 UTC
Users with some tools permissions have access to the cataloging module (like the label creator, which was moved from tools to cataloging) but the interface shows the Cataloging search in the cataloging module rather than the "Search the catalog" search bar. If the user does not have a cataloging permission, they should only see the regular "Search the catalog" search bar.

To recreate:
1. Grant limited permissions to a user*
   - catalogue
   - label_creator
2. Log in the staff interface as that user
3. Go to Cataloging
   --> You should have access to the label creator sections - OK
   --> You have access to the "Cataloging search" bar - NOT OK
   --> You don't have access to the "Search the catalog" bar - NOT OK
4. Make a search in the search bar
   --> You are logged out for insufficient permissions

*My example is extreme, but I have real life examples of library staff having the following permissions (circulation staff who receive serial issues and repair torn off labels)
- circulate
- catalogue
- borrowers
- reserveforothers
- updatecharges
- access_files
- label_creator
- serials
- enroll
- cashup
- takepayment