feat(cms): partner categories, publication permission and CMS-managed references copy (MITHOME-131)

Per the managed web operations research (PLATFM-13), a client must not be
shown as a "partner" and names/logos need written permission. Partners
now carry a required relationship category and a publication permission
(default: none) with the permission's location and review date; only
entries with written permission, a category and a logo are public.

The homepage shows clients ("Akik már minket választottak") and other
relationships in separate blocks via ReferencesSection; every partner
shows its relationship type. The section copy moved from a hard-coded
constant into the Home global (localized). The 20260929_partner_references
migration marks Angele Pihenőház as a client reference with written
permission (owner-confirmed), hides any other uncategorised entry, and
seeds the copy in hu + en. The JSON seed uses the same source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Do Siki
2026-09-29 17:17:05 +02:00
co-authored by Claude Opus 5.5
parent 526f413bfd
commit 5f9a53ed18
14 changed files with 475 additions and 71 deletions
+7
View File
@@ -3,6 +3,7 @@ import * as migration_20260929_cta_page_links from './20260929_cta_page_links'
import * as migration_20260929_localize_legal_pages from './20260929_localize_legal_pages'
import * as migration_20260929_en_ai_draft from './20260929_en_ai_draft'
import * as migration_20260929_service_claims from './20260929_service_claims'
import * as migration_20260929_partner_references from './20260929_partner_references'
/**
* Payload migrations, in order. Passed to `mongooseAdapter({ prodMigrations })`
@@ -38,4 +39,10 @@ export const migrations = [
down: migration_20260929_service_claims.down,
name: '20260929_service_claims',
},
{
// MITHOME-131 — partner categories/permissions + references section copy.
up: migration_20260929_partner_references.up,
down: migration_20260929_partner_references.down,
name: '20260929_partner_references',
},
]