Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 9b2226a649 Bug 28948: Make is_public stashed on public routes
This patch makes the API authentication code stash the 'is_public' value
when public routes are hit.

This will be particularly useful to have $c->objects->search generically
pass this info down to the ->to_api method.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> SUCCESS: Tests pass! When a public route is reached, the controller
has the 'is_public' value stashed
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-28 17:32:34 +02:00
..
acquisitions_funds.t
acquisitions_orders.t
acquisitions_vendors.t
advanced_editor_macros.t
article_requests.t
auth.t
auth_authenticate_api_request.t Bug 28948: Make is_public stashed on public routes 2021-10-28 17:32:34 +02:00
auth_basic.t
biblios.t
cashups.t
checkouts.t
cities.t
clubs_holds.t
holds.t
illrequests.t
import_batch_profiles.t
items.t
libraries.t
oauth.t
patrons.t Bug 28585: (QA follow-up) Add explicit tests for setting date/date-time attributes 2021-10-25 14:06:46 +02:00
patrons_accounts.t
patrons_extended_attributes.t
patrons_holds.t
patrons_password.t Bug 29272: (QA follow-up) Category setup overrides syspref 2021-10-28 12:16:37 +02:00
return_claims.t
smtp_servers.t
stockrotationstage.t
suggestions.t Bug 17314: Unit tests 2021-10-28 17:32:34 +02:00
transfer_limits.t