Koha-clms/api/v1/swagger/paths
Martin Renvoize 85ea79c45b
Bug 29509: Update swagger specification and add permissions to users
This patch removes the 'edit_borrowers', 'manage_bookings',
'lable_creator', 'routing' and 'order_manage' permissions from the list
of options in the patrons list endpoint.

We then assign the new 'list_borrowers' permission to any users who have
those removed permissions

Test plan
1) Apply patch and run the database update
2) Users with any of the permissions listed above should now also have
   the 'list_borrowers' permission too.
3) Check that patron searching continues to work from the various
   locations in the UI for the above affected users

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Incorporated second patch and removed 1<<4. 16 reads much better :)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2024-07-22 10:28:03 +01:00
..
acquisitions_baskets.yaml Bug 37368: Add 'library' to patron search embed 2024-07-18 17:53:16 +02:00
acquisitions_edifiles.yaml Bug 36565: EDI files API docs fixes (bug 30070 follow-up) 2024-04-29 09:35:36 +02:00
acquisitions_funds.yaml Bug 37368: Add 'library' to patron search embed 2024-07-18 17:53:16 +02:00
acquisitions_orders.yaml Bug 36018: biblio->active_orders should be ->uncancelled_orders 2024-05-10 16:45:46 +02:00
acquisitions_vendor_issues.yaml Bug 35634: (bug 33105 follow-up) fix typo issues_manage vs issue_manage 2024-01-11 15:44:46 +01:00
acquisitions_vendors.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
advancededitormacros.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
article_requests.yaml
…
auth.yaml Bug 34313: Add patron information in pass validation response 2023-08-29 14:59:02 -03:00
authorised_value_categories.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
authorised_values.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
authorities.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
biblios.yaml Bug 36120: Add pickup_library support to bookings API 2024-05-03 16:02:46 +02:00
biblios_item_groups.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
biblios_merge.yaml Bug 36565: Biblio merge API docs fixes (bug 33036 follow-up) 2024-04-29 09:35:35 +02:00
bookings.yaml Bug 36120: Add pickup_library support to bookings API 2024-05-03 16:02:46 +02:00
cash_registers.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
checkouts.yaml Bug 35469: Add 'manage_bookings' subpermission to /checkouts 2024-03-07 17:35:39 +01:00
circulation_rules.yaml Bug 36641: (follow-up) Ensure limited return works 2024-07-18 18:25:49 +02:00
cities.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
clubs.yaml
…
config_smtp_servers.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
deleted_biblios.yaml Bug 33960: Add routes and controller 2024-04-22 08:57:50 +02:00
erm_agreements.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_config.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_counter_files.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_counter_logs.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_counter_registries.yaml Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
erm_custom_reports.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_default_usage_reports.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_documents.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_packages.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_packages_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_titles.yaml Bug 34788: Allow import of file with additional columns 2024-05-10 15:19:09 +02:00
erm_eholdings_titles_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_licenses.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_sushi_services.yaml Bug 34587: Fix stray type definition 2023-11-01 15:00:17 -03:00
erm_usage_data_providers.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_databases.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_items.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_platforms.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_titles.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_users.yaml Bug 37368: Add 'library' to patron search embed 2024-07-18 17:53:16 +02:00
extended_attribute_types.yaml Bug 37262: (follow-up) Rename types/tables 2024-07-12 10:21:23 +02:00
holds.yaml Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
ill_backends.yaml Bug 35581: Koha::Illbackend -> Koha::ILL::Backend 2024-04-22 08:57:40 +02:00
ill_batches.yaml Bug 35581: Koha::*Illbatch* -> Koha::*ILL::*Batch* 2024-04-22 08:57:41 +02:00
ill_batchstatuses.yaml Bug 35581: Illbatchstatus* -> ILL::Batch::Status* 2024-04-22 08:57:42 +02:00
ill_requests.yaml Bug 36565: ILL requests API docs fixes (bug 22440 follow-up) 2024-04-29 09:35:35 +02:00
import_batch_profiles.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
import_batches.yaml
…
item_types.yaml Bug 34008: Add REST endpoint for list of itemtypes 2023-11-01 17:23:14 -03:00
items.yaml Bug 29002: (follow-up) Rebase fix, remove q_header 2023-11-03 12:04:15 -03:00
jobs.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
libraries.yaml Bug 36482: Allow embedding desks and cash_registers on libraries endpoints 2024-04-26 18:06:11 +02:00
oauth.yaml
…
patron_categories.yaml Bug 26297: (QA follow-up) Spec fixes 2024-04-29 18:53:12 +02:00
patrons.yaml Bug 29509: Update swagger specification and add permissions to users 2024-07-22 10:28:03 +01:00
patrons_account.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
patrons_checkouts.yaml Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-04-26 20:15:49 +02:00
patrons_extended_attributes.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
patrons_holds.yaml Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
patrons_password.yaml
…
patrons_recalls.yaml Bug 35967: Add REST API endpoint to list patron recalls 2024-04-19 19:54:43 +02:00
preservation_config.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_processings.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_trains.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_waiting_list.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
public_oauth.yaml
…
public_patrons.yaml Bug 35368: Add public to "Add a new checkout" in API documentation 2024-01-30 17:48:40 +01:00
quotes.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
record_sources.yaml Bug 35919: Add /record_sources endpoints 2024-04-26 17:06:03 +02:00
return_claims.yaml
…
rotas.yaml Bug 35430: Add rota endpoints for stockrotation 2024-06-28 13:49:26 +02:00
search_filters.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
suggestions.yaml Bug 37368: Add 'library' to patron search embed 2024-07-18 17:53:16 +02:00
tickets.yaml Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
transfer_limits.yaml Bug 36329: Miscelaneous spec fixes 2024-03-19 10:25:01 +01:00