For the API https://api.koha-community.org/#tag/biblios/operation/updateBiblioItem a user must have the permission edit_catalogue {"permissions":{"editcatalogue":"edit_catalogue"}} it should be {"permissions":{"editcatalogue":"edit_items"}}
Yes! This would be a welcomed change.
Created attachment 179382 [details] [review] Bug 38905: change permissions for item creation and modification This patch changes the permissions to edit_items for item creation and modification via the API. Test plan: 1) Apply the patch 2) prove t/db_dependent/api/v1/biblios.t Sponsored-by: Koha-Suomi Oy
Created attachment 179449 [details] [review] Bug 38905: change permissions for item creation and modification This patch changes the permissions to edit_items for item creation and modification via the API. Test plan: 1) Apply the patch 2) prove t/db_dependent/api/v1/biblios.t Sponsored-by: Koha-Suomi Oy Signed-off-by: Jan Kissig <bibliothek@th-wildau.de>
Created attachment 179966 [details] [review] Bug 38905: change permissions for item creation and modification This patch changes the permissions to edit_items for item creation and modification via the API. Test plan: 1) Apply the patch 2) prove t/db_dependent/api/v1/biblios.t Sponsored-by: Koha-Suomi Oy Signed-off-by: Jan Kissig <bibliothek@th-wildau.de>
Created attachment 179968 [details] [review] Bug 38905: change permissions for item creation and modification This patch changes the permissions to edit_items for item creation and modification via the API. Test plan: 1) Apply the patch 2) prove t/db_dependent/api/v1/biblios.t Sponsored-by: Koha-Suomi Oy Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
I think it makes sense to be less restrictive regarding permissions for this case.
Pushed for 25.05! Well done everyone, thank you!
Could this please be backported?
Nice work everyone! Pushed to 24.11.x for 24.11.04 (v24.11.04-2)