Vendor searching is currently limited to those staff members who either vendors_manage or marc_order_manage permissions. Any staff with at least a single acq permission should be able to search vendors.
Created attachment 193333 [details] [review] Bug 41867: All staff with acq permissions should be able to do vendor search To test: 1/ Have a staff member with at least one acquisition that is NOT vendors_manage or marc_order_manage. 2/ Sign in as that staff member and attempt a vendor search. 3/ See an error like "Something went wrong: Error: Authorization failure. Missing required permission(s)." 4/ APPLY PATCH, restart_all, yarn build, AND clear browser cache. 5/ Try step 2 again, you should be able to see the list of vendors.
This patch works - I can now view the list of vendors. However, should you be able to view the vendor as well? If I go to view the vendor, I get: Something went wrong: Error: Authorization failure. Missing required permission(s). Loading Testing notes (using KTD): 1. I edited Henry Acevedo's account so that I could log in as them. 2. I added these permissions: - Staff access, allows viewing of catalogue in staff interface (catalogue) - Acquisition management: . Manage all baskets and order lines, regardless of restrictions on them (order_manage_all)