Bug 30230: (QA follow-up) Also add list_borrowers to the singular endpoint
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
6da8a7c46b
commit
cd9a3c3a07
|
|
@ -393,11 +393,11 @@
|
|||
$ref: "../swagger.yaml#/definitions/error"
|
||||
x-koha-authorization:
|
||||
permissions:
|
||||
- borrowers: "list_borrowers"
|
||||
- borrowers: "edit_borrowers"
|
||||
- tools: "label_creator"
|
||||
- serials: "routing"
|
||||
- acquisition: "order_manage"
|
||||
- borrowers: "list_borrowers"
|
||||
post:
|
||||
x-mojo-to: Patrons#add
|
||||
operationId: addPatron
|
||||
|
|
@ -518,7 +518,8 @@
|
|||
$ref: "../swagger.yaml#/definitions/error"
|
||||
x-koha-authorization:
|
||||
permissions:
|
||||
borrowers: edit_borrowers
|
||||
- borrowers: "list_borrowers"
|
||||
- borrowers: "edit_borrowers"
|
||||
put:
|
||||
x-mojo-to: Patrons#update
|
||||
operationId: updatePatron
|
||||
|
|
|
|||
Loading…
Reference in New Issue