]> git.koha-community.org Git - koha.git/commit
Bug 24232: Fix required permissions in DELETE /biblios/:biblio_id
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Dec 2019 17:43:54 +0000 (14:43 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 20 Dec 2019 12:07:20 +0000 (12:07 +0000)
commit62dcfa95da212f1ed4c35d94334cf9f6de616f02
tree3528e8fac6f5b337b058f34c7f81636f37ef50f9
parent41abacfbaa5718ef23dc2fe65a7f87051778e0a0
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>
api/v1/swagger/paths/biblios.json