mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 17:24:12 +00:00
The SEO Settings global had `read: ({ req: { user } }) => Boolean(user)`
which requires authentication. During admin panel server-side rendering
(after saves), the user context is not propagated to global reads,
causing a Forbidden error that crashes the entire page render.
SEO data is not sensitive, so public read access is appropriate.
Also removes temporary debug logging.
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 | ||