]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Jan 2020 22:07:12 +0000 (22:07 +0000)
commit9c03f710221a4d17ee6e861fc0f3b3507716d249
treedb165aab7c0230ef31e64b847c7aa937b496bbb0
parent7be05a35debeaca73ddc1b3fe810d6213dd57d93
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit a7e5c5cfd17ca02c3b1c821bb458831b9a2494db)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
api/v1/swagger/paths/biblios.json