]> git.koha-community.org Git - koha.git/commit
Bug 34999: Throw exception for public routes if OPACMaintenance is enabled
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 24 Nov 2023 10:50:54 +0000 (10:50 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Jan 2024 11:05:59 +0000 (12:05 +0100)
commit1fc82dd827ad298bead46583ada08c549afe8d8e
treed6bad7dc13c34a603ec27d7d75a0d7c85f3027f7
parent6779e64d955f6e90e05eba19fd4d7d3606ae15ec
Bug 34999: Throw exception for public routes if OPACMaintenance is enabled

Test plan:
[1] Try public endpoint like /api/v1/public/biblios/X/items.
    * Replace X by an existing biblionumber.
    You should receive a 200.
[2] Enable OPACMaintenance. Set to Show.
[3] Try same endpoint. You should get a 503 with a json error.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/REST/V1/Auth.pm