Bugzilla – Attachment 193333 Details for
Bug 41867
Vendor searching should be allowed for any staff with any acquisition permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41867: All staff with acq permissions should be able to do vendor search
Bug-41867-All-staff-with-acq-permissions-should-be.patch (text/plain), 1.92 KB, created by
Lucas Gass (lukeg)
on 2026-02-17 21:18:45 UTC
(
hide
)
Description:
Bug 41867: All staff with acq permissions should be able to do vendor search
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-17 21:18:45 UTC
Size:
1.92 KB
patch
obsolete
>From 21da0983b05ac44a65a527fd871b83c9888f0689 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 17 Feb 2026 21:15:48 +0000 >Subject: [PATCH] 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. >--- > api/v1/swagger/paths/acquisitions_vendors.yaml | 4 +--- > .../paths/acquisitions_vendors_extended_attribute_types.yaml | 2 +- > 2 files changed, 2 insertions(+), 4 deletions(-) > >diff --git a/api/v1/swagger/paths/acquisitions_vendors.yaml b/api/v1/swagger/paths/acquisitions_vendors.yaml >index 76bf9ea08a7..1f1309c32f4 100644 >--- a/api/v1/swagger/paths/acquisitions_vendors.yaml >+++ b/api/v1/swagger/paths/acquisitions_vendors.yaml >@@ -80,9 +80,7 @@ > $ref: "../swagger.yaml#/definitions/error" > x-koha-authorization: > permissions: >- - acquisition: >- - vendors_manage >- - marc_order_manage >+ - acquisition: '*' > - erm: 1 > post: > x-mojo-to: Acquisitions::Vendors#add >diff --git a/api/v1/swagger/paths/acquisitions_vendors_extended_attribute_types.yaml b/api/v1/swagger/paths/acquisitions_vendors_extended_attribute_types.yaml >index ceb2ba44661..682097e469d 100644 >--- a/api/v1/swagger/paths/acquisitions_vendors_extended_attribute_types.yaml >+++ b/api/v1/swagger/paths/acquisitions_vendors_extended_attribute_types.yaml >@@ -51,4 +51,4 @@ > $ref: "../swagger.yaml#/definitions/error" > x-koha-authorization: > permissions: >- - acquisition: vendors_manage >+ - acquisition: '*' >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41867
: 193333