mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 16:14:12 +00:00
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> |
||
|---|---|---|
| .. | ||
| app | ||
| blocks | ||
| collections | ||
| components/admin | ||
| globals | ||
| hooks | ||
| jobs | ||
| lib | ||
| migrations | ||
| types | ||
| instrumentation.ts | ||
| middleware.ts | ||
| payload-generated-schema.ts | ||
| payload-types.ts | ||
| payload.config.ts | ||