Bugzilla – Attachment 96435 Details for
Bug 24232
Fix permissions for deleting a bib record after attaching the last item to another bib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24232: Fix required permissions in DELETE /biblios/:biblio_id
Bug-24232-Fix-required-permissions-in-DELETE-bibli.patch (text/plain), 1.20 KB, created by
ByWater Sandboxes
on 2019-12-18 17:32:56 UTC
(
hide
)
Description:
Bug 24232: Fix required permissions in DELETE /biblios/:biblio_id
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2019-12-18 17:32:56 UTC
Size:
1.20 KB
patch
obsolete
>From 35a3a41aedfebf95a4793fbf6cf1f10d95bf6005 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 17 Dec 2019 14:43:54 -0300 >Subject: [PATCH] Bug 24232: Fix required permissions in DELETE > /biblios/:biblio_id > >This patch fixes the required permissions defined on the spec for the >mentioned endpoint. > >To test: >1. Apply the tests patch >2. Run: > $ kshell > k$ prove t/db_dependent/api/v1/biblios.t >=> FAIL: Tests fail due to badly defined permissions >3. Apply this patch >4. Repeat 2 >=> SUCCESS: Tests pass! Notice parameters: edit_catelogue didn't exist >5. Sign off :-D > >Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> > >Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> >--- > api/v1/swagger/paths/biblios.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/biblios.json b/api/v1/swagger/paths/biblios.json >index 1ea91aca4f..b2bb58a6ce 100644 >--- a/api/v1/swagger/paths/biblios.json >+++ b/api/v1/swagger/paths/biblios.json >@@ -128,7 +128,7 @@ > }, > "x-koha-authorization": { > "permissions": { >- "parameters": "edit_catalogue" >+ "editcatalogue": "edit_catalogue" > } > } > } >-- >2.11.0
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 24232
:
96388
|
96389
|
96393
|
96398
|
96434
|
96435
|
96436
|
96455
|
96456
|
96457