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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Tomás Cohen Arazi 2019-12-17 14:43:54 -03:00 committed by Martin Renvoize
parent 41abacfbaa
commit 62dcfa95da
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -128,7 +128,7 @@
},
"x-koha-authorization": {
"permissions": {
"parameters": "edit_catalogue"
"editcatalogue": "edit_catalogue"
}
}
}