Tomas Cohen Arazi
a054c569dd
This patch adds support for setting the record source on the API. It does so by adding support for a new header `x-record-source-id`. Setting the record source is restricted to patrons with the `set_record_sources` permission. A 403 error is returned on an attempt to set it without the correct permissions. The feature is documented on the spec. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/biblios.t => SUCCESS: Tests pass! Tests cover the right use cases! 3. Play with Postman (or similar) 4. Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
---|---|---|
.. | ||
acquisitions_baskets.yaml | ||
acquisitions_edifiles.yaml | ||
acquisitions_funds.yaml | ||
acquisitions_orders.yaml | ||
acquisitions_vendor_issues.yaml | ||
acquisitions_vendors.yaml | ||
advancededitormacros.yaml | ||
article_requests.yaml | ||
auth.yaml | ||
authorised_value_categories.yaml | ||
authorised_values.yaml | ||
authorities.yaml | ||
biblios.yaml | ||
biblios_item_groups.yaml | ||
biblios_merge.yaml | ||
bookings.yaml | ||
cash_registers.yaml | ||
checkouts.yaml | ||
circulation-rules.yaml | ||
cities.yaml | ||
clubs.yaml | ||
config_smtp_servers.yaml | ||
deleted_biblios.yaml | ||
erm_agreements.yaml | ||
erm_config.yaml | ||
erm_counter_files.yaml | ||
erm_counter_logs.yaml | ||
erm_counter_registries.yaml | ||
erm_custom_reports.yaml | ||
erm_default_usage_reports.yaml | ||
erm_documents.yaml | ||
erm_eholdings_packages.yaml | ||
erm_eholdings_packages_resources.yaml | ||
erm_eholdings_resources.yaml | ||
erm_eholdings_titles.yaml | ||
erm_eholdings_titles_resources.yaml | ||
erm_licenses.yaml | ||
erm_sushi_services.yaml | ||
erm_usage_data_providers.yaml | ||
erm_usage_databases.yaml | ||
erm_usage_items.yaml | ||
erm_usage_platforms.yaml | ||
erm_usage_titles.yaml | ||
erm_users.yaml | ||
holds.yaml | ||
ill_backends.yaml | ||
ill_batches.yaml | ||
ill_batchstatuses.yaml | ||
ill_requests.yaml | ||
import_batch_profiles.yaml | ||
import_batches.yaml | ||
item_types.yaml | ||
items.yaml | ||
jobs.yaml | ||
libraries.yaml | ||
oauth.yaml | ||
patrons.yaml | ||
patrons_account.yaml | ||
patrons_extended_attributes.yaml | ||
patrons_holds.yaml | ||
patrons_password.yaml | ||
patrons_recalls.yaml | ||
preservation_config.yaml | ||
preservation_processings.yaml | ||
preservation_trains.yaml | ||
preservation_waiting_list.yaml | ||
public_oauth.yaml | ||
public_patrons.yaml | ||
quotes.yaml | ||
record_sources.yaml | ||
return_claims.yaml | ||
rotas.yaml | ||
search_filters.yaml | ||
suggestions.yaml | ||
tickets.yaml | ||
transfer_limits.yaml |