feat: redesign CMS and unify German admin UI

This commit is contained in:
2026-09-17 16:51:24 +02:00
parent a2b3e99174
commit 7ec0c51ff5
129 changed files with 952 additions and 550 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import type { Event, Offer, Post } from "@/payload-types";
//
// IMPORTANT: Payload's Local API defaults `overrideAccess` to `true`, which
// SKIPS each collection's `access.read` check entirely (see
// node_modules/payload/dist/collections/operations/find.js) — it does not
// node_modules/payload/dist/collections/operations/find.js) - it does not
// automatically hide drafts. Every fetcher that feeds a *public* page must
// therefore pass `overrideAccess: false` so the collection's own
// `publishedOrAdmin` access rule actually filters out unpublished documents.
@@ -83,7 +83,7 @@ export const getEventBySlug = cache(async (slug: string): Promise<Event | null>
* Unlike `getEventBySlug`, this intentionally does NOT filter by publish
* status. Confirmed private bookings create an unpublished/private linked
* Event (see collections/BookingRequests.ts) that must still be reachable
* for the one customer who received its join link + password — "unlisted",
* for the one customer who received its join link + password - "unlisted",
* not "hidden". Only used by the join/beitreten flow, never for listings.
*/
export const getEventForJoin = cache(async (slug: string): Promise<Event | null> => {