Bugzilla – Attachment 132747 Details for
Bug 30063
Make the main patron search use the /patrons REST API route
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30063: Fix permission for GET /patrons
Bug-30063-Fix-permission-for-GET-patrons.patch (text/plain), 1.03 KB, created by
Jonathan Druart
on 2022-03-31 12:48:06 UTC
(
hide
)
Description:
Bug 30063: Fix permission for GET /patrons
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-31 12:48:06 UTC
Size:
1.03 KB
patch
obsolete
>From 1569a2e902e3e0d28072a8e8f85019176e4a198e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 30 Mar 2022 13:37:40 +0200 >Subject: [PATCH] Bug 30063: Fix permission for GET /patrons >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >edit_borrowers should be enough, we don't need the whole borrowers >module flag > >Signed-off-by: Séverine Queune <severine.queune@bulac.fr> >--- > api/v1/swagger/paths/patrons.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml >index 6e081a0c6fd..9519bc1928e 100644 >--- a/api/v1/swagger/paths/patrons.yaml >+++ b/api/v1/swagger/paths/patrons.yaml >@@ -380,7 +380,7 @@ > $ref: "../swagger.yaml#/definitions/error" > x-koha-authorization: > permissions: >- - borrowers: "1" >+ - borrowers: "edit_borrowers" > - tools: "label_creator" > - serials: "routing" > - acquisition: "order_manage" >-- >2.25.1
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 30063
:
130608
|
130609
|
130610
|
130611
|
130612
|
130613
|
130614
|
130615
|
132387
|
132552
|
132731
|
132732
|
132733
|
132734
|
132735
|
132736
|
132737
|
132738
|
132739
|
132740
|
132741
|
132742
|
132743
|
132744
|
132745
|
132746
|
132747
|
132748
|
132749
|
132759
|
132760
|
132761
|
132762
|
132763
|
132764
|
132765
|
132766
|
132767
|
132768
|
132769
|
132770
|
132771
|
132772
|
132773
|
132774
|
132775
|
132776
|
132777
|
132958