Fix: licence read-only mode blocks the v2 routes too (1.52.3)

The read-only guard only listed v1 paths, and every screen has used
/api/v2 since 1.51.15, so a suspended, revoked or unlicensed site could
still create events, take registrations and start payments. The v2
successors of each blocked v1 route are blocked now; a test checks each
blocked v2 path exists in the OpenAPI document.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 15:14:50 +02:00
co-authored by Claude Opus 5.5
parent 76f17ab0e9
commit edd3ee6e76
10 changed files with 96 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "event-management-backend",
"version": "1.52.2",
"version": "1.52.3",
"description": "Event Management System Backend",
"main": "src/index.js",
"scripts": {