cms.c2sgmbh/scripts
Martin Porwoll ab4ee4bb70 fix(access): allow tenant resolution from query parameter in tenantScopedPublicRead
Previously, tenantScopedPublicRead only resolved the tenant from the Host
header, which fails when frontend API clients call cms.c2sgmbh.de (the CMS
hostname doesn't match any tenant domain). Now falls back to extracting the
tenant ID from the where[tenant][equals] query parameter. The returned access
filter still enforces tenant isolation.

Also adds seed script for zweitmeinung (tenant 12) with all content:
site settings, 2 service categories, 6 services, 24 FAQs, navigation,
4 social links, and contact form.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 00:44:42 +00:00
..
backup feat: add automated PostgreSQL backup system with S3 offsite storage 2025-12-11 14:10:39 +00:00
security feat: security hardening, monitoring improvements, and API guards 2026-02-17 11:42:56 +00:00
setup-tenants fix(setup-tenants): improve error handling to prevent silent failures 2026-01-18 10:42:10 +00:00
check-framework-updates.sh chore: code cleanup, TypeScript fixes, and dependency updates 2025-12-15 09:02:58 +00:00
check-production-deploys.sh feat: add production deploy health check script 2026-02-17 11:42:45 +00:00
db-direct.sh feat: add Products and ProductCategories collections with CI/CD pipeline 2025-12-12 21:36:26 +00:00
deploy-frontend.sh feat: add frontend staging deploy script 2026-02-15 18:26:34 +00:00
deploy-production.sh fix: remove drizzle-kit push from auto-deploy to prevent data loss 2025-12-27 20:51:11 +00:00
deploy-staging.sh feat: add staging deployment workflow and script 2025-12-14 12:37:25 +00:00
detect-secrets.sh feat: add production deploy health check script 2026-02-17 11:42:45 +00:00
run-queue-worker.ts feat(monitoring): add snapshot collector to queue worker 2026-02-15 00:34:28 +00:00
seed-blogwoman-coming-soon.ts chore: add blogwoman seed script, ignore playwright-mcp 2026-02-13 21:07:02 +00:00
seed-blogwoman-continue.ts feat(BlogWoman): add tenant seed scripts and block migrations 2026-01-09 11:13:32 +00:00
seed-blogwoman.ts feat(BlogWoman): add tenant seed scripts and block migrations 2026-01-09 11:13:32 +00:00
seed-community-rules.ts fix: resolve global typecheck errors 2026-02-17 08:57:32 +00:00
seed-content.ts fix: resolve global typecheck errors 2026-02-17 08:57:32 +00:00
seed-pages-only.ts fix: resolve global typecheck errors 2026-02-17 08:57:32 +00:00
seed-zweitmeinung.ts fix(access): allow tenant resolution from query parameter in tenantScopedPublicRead 2026-02-21 00:44:42 +00:00
setup-swap-proxmox.sh docs: add staging deployment guide and swap setup script 2025-12-14 15:19:59 +00:00
sync-schema.sh fix: remove drizzle-kit push from auto-deploy to prevent data loss 2025-12-27 20:51:11 +00:00
update-contracts.sh feat: add update-contracts.sh for type extraction workflow 2026-02-14 17:53:20 +00:00