recht: Meldeverfahren v2 Phasen 1-4 — Re-Sync-Sperre, Anonymisierung, Magic-Link-Intake, Self-Service-Korrektur
Phase 1: sync_locked_at auf press_releases (Importer überspringt gesperrte PMs auch bei --force), LegalRequest um Verifikation/Ausführung erweitert, verschlüsselte Vorher-Snapshots mit Löschfrist (snapshots:purge, täglich). Phase 2: AnonymizationService (Unicode-Wortgrenzen-Schwärzung, Pflicht-Diff, transaktionale Ausführung mit Snapshot, Kontakt-Detach, Bild-Löschung, Sitemap-Invalidierung, Verlauf ohne Klartext-Altwerte); Admin-Queue kann DSGVO-Anfragen anonymisieren oder depublizieren, inkl. Snapshot-Restore. Phase 3: Deflektions-Trichter „PM melden/ändern" (melden/pm) mit Kosten- Tabelle vorab; Magic-Link geht nur an die hinterlegte Pressekontaktadresse (neuer purpose press_release_report), atomare Verifikation, Anliegen-Auswahl erzeugt verifizierte Queue-Anfragen; toter-Kanal-Fallback; Owner-Einstieg. Phase 4: Panel-Abschnitt „Änderung & Korrektur" — Levenshtein-Gate (5 %, Mini-Edit-Ausnahme ≤ 2 Zeichen) stuft klein/groß ein; kleine Korrektur kostenlos sofort live (Snapshot, Sperre, Verlauf, Re-Score), größere als Change-Anfrage (Interim bis 10-€-Checkout, Phase 7). Entwicklungsplan mit Entscheidungen E1-E8 und offenen Punkten in docs/Decision-Update; 41 Pest-Tests (tests/Feature/Legal) grün. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
58c0cc3f23
commit
b4b2e013d6
42 changed files with 3868 additions and 1 deletions
73
resources/views/web/melden-pm-anliegen.blade.php
Normal file
73
resources/views/web/melden-pm-anliegen.blade.php
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
@extends('web.layouts.web-master')
|
||||
|
||||
@section('title', __('static.pm_report.concerns_title'))
|
||||
@section('meta_description', __('static.pm_report.meta'))
|
||||
|
||||
@section('content')
|
||||
<x-web.static-page
|
||||
:eyebrow="__('static.legal.eyebrow')"
|
||||
:title="__('static.pm_report.concerns_title')"
|
||||
:breadcrumb="__('static.pm_report.breadcrumb')"
|
||||
>
|
||||
<div class="max-w-[640px]">
|
||||
<div class="mb-6 px-4 py-3 border border-bg-rule bg-bg-elev text-[13px] text-ink-2">
|
||||
<p class="font-semibold text-ink mb-1">{{ $pressRelease->title }}</p>
|
||||
<p>{{ __('static.pm_report.verified_as', ['email' => $contactEmail]) }}</p>
|
||||
</div>
|
||||
|
||||
@if (session('pm-report-status'))
|
||||
<div class="mb-6 px-4 py-3 border border-bg-rule bg-bg-elev text-[13px] text-ink-2" role="status">
|
||||
{{ session('pm-report-status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('melden.pm.anliegen.store') }}" class="space-y-5">
|
||||
@csrf
|
||||
|
||||
<fieldset>
|
||||
<legend class="block text-[12px] font-semibold text-ink mb-2">{{ __('static.pm_report.concern_legend') }}</legend>
|
||||
<div class="space-y-2">
|
||||
@foreach ([
|
||||
'correction' => ['label' => __('static.pm_report.track_correction'), 'desc' => __('static.pm_report.track_correction_desc'), 'cost' => __('static.pm_report.cost_free')],
|
||||
'dsgvo' => ['label' => __('static.pm_report.track_dsgvo'), 'desc' => __('static.pm_report.track_dsgvo_desc'), 'cost' => __('static.pm_report.cost_free')],
|
||||
'depublication' => ['label' => __('static.pm_report.track_depublication'), 'desc' => __('static.pm_report.track_depublication_desc'), 'cost' => '35 €'],
|
||||
'change' => ['label' => __('static.pm_report.track_change'), 'desc' => __('static.pm_report.track_change_desc'), 'cost' => '10 €'],
|
||||
] as $value => $track)
|
||||
<label class="flex items-start gap-3 border border-bg-rule px-3 py-2.5 cursor-pointer hover:bg-bg-elev">
|
||||
<input type="radio" name="concern" value="{{ $value }}" required class="mt-0.5"
|
||||
@checked(old('concern') === $value) />
|
||||
<span class="text-[13px] text-ink">
|
||||
<span class="font-semibold">{{ $track['label'] }}</span>
|
||||
<span class="text-ink-3">· {{ $track['cost'] }}</span>
|
||||
<span class="block text-[12.5px] text-ink-2">{{ $track['desc'] }}</span>
|
||||
</span>
|
||||
</label>
|
||||
@endforeach
|
||||
</div>
|
||||
@error('concern')
|
||||
<p class="mt-1 text-[12px] text-red-600">{{ $message }}</p>
|
||||
@enderror
|
||||
</fieldset>
|
||||
|
||||
<div>
|
||||
<label for="message" class="block text-[12px] font-semibold text-ink mb-1.5">{{ __('static.pm_report.label_message') }}</label>
|
||||
<textarea id="message" name="message" rows="6" required minlength="10" maxlength="5000"
|
||||
placeholder="{{ __('static.pm_report.placeholder_message') }}"
|
||||
class="w-full border border-bg-rule px-3 py-2.5 text-[13px] bg-white text-ink focus:outline-none focus:border-brand">{{ old('message') }}</textarea>
|
||||
@error('message')
|
||||
<p class="mt-1 text-[12px] text-red-600">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<p class="text-[12.5px] text-ink-3 leading-relaxed">
|
||||
{{ __('static.pm_report.concern_note') }}
|
||||
</p>
|
||||
|
||||
<button type="submit"
|
||||
class="inline-flex items-center px-5 py-2.5 bg-brand text-white text-[13px] font-semibold hover:opacity-90">
|
||||
{{ __('static.pm_report.concern_submit') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</x-web.static-page>
|
||||
@endsection
|
||||
87
resources/views/web/melden-pm.blade.php
Normal file
87
resources/views/web/melden-pm.blade.php
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
@extends('web.layouts.web-master')
|
||||
|
||||
@section('title', __('static.pm_report.title'))
|
||||
@section('meta_description', __('static.pm_report.meta'))
|
||||
|
||||
@section('content')
|
||||
<x-web.static-page
|
||||
:eyebrow="__('static.legal.eyebrow')"
|
||||
:title="__('static.pm_report.title')"
|
||||
:breadcrumb="__('static.pm_report.breadcrumb')"
|
||||
>
|
||||
<div class="max-w-[640px]">
|
||||
<p class="text-[13.5px] text-ink-2 leading-relaxed mb-6">
|
||||
{{ __('static.pm_report.intro') }}
|
||||
</p>
|
||||
|
||||
{{-- Transparenz vorab: kostenlos vs. kostenpflichtig (Anti-Zombie). --}}
|
||||
<div class="border border-bg-rule mb-6">
|
||||
<table class="w-full text-[12.5px]">
|
||||
<tbody>
|
||||
@foreach ([
|
||||
['label' => __('static.pm_report.track_correction'), 'cost' => __('static.pm_report.cost_free')],
|
||||
['label' => __('static.pm_report.track_dsgvo'), 'cost' => __('static.pm_report.cost_free')],
|
||||
['label' => __('static.pm_report.track_depublication'), 'cost' => '35 €'],
|
||||
['label' => __('static.pm_report.track_change'), 'cost' => '10 €'],
|
||||
] as $track)
|
||||
<tr class="border-b border-bg-rule last:border-b-0">
|
||||
<td class="px-3 py-2 text-ink">{{ $track['label'] }}</td>
|
||||
<td class="px-3 py-2 text-right font-semibold text-ink">{{ $track['cost'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@if (session('pm-report-status'))
|
||||
<div class="mb-6 px-4 py-3 border border-bg-rule bg-bg-elev text-[13px] text-ink-2" role="status">
|
||||
{{ session('pm-report-status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('pm-report-error'))
|
||||
<div class="mb-6 px-4 py-3 border border-red-300 bg-red-50 text-[13px] text-red-700" role="alert">
|
||||
{{ session('pm-report-error') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('pm-report-manual'))
|
||||
<div class="mb-6 px-4 py-3 border border-bg-rule bg-bg-elev text-[13px] text-ink-2" role="status">
|
||||
{{ __('static.pm_report.manual_fallback') }}
|
||||
<a href="{{ route('melden.form', ['way' => 'kontaktdaten']) }}" class="underline underline-offset-2 hover:text-ink">
|
||||
{{ __('static.pm_report.manual_fallback_link') }}
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" action="{{ route('melden.pm.store') }}" class="space-y-5">
|
||||
@csrf
|
||||
|
||||
{{-- Honeypot --}}
|
||||
<div class="hidden" aria-hidden="true">
|
||||
<label for="website">Website</label>
|
||||
<input id="website" type="text" name="website" tabindex="-1" autocomplete="off" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="reported_url" class="block text-[12px] font-semibold text-ink mb-1.5">{{ __('static.report_form.label_url') }}</label>
|
||||
<input id="reported_url" type="url" name="reported_url" value="{{ old('reported_url') }}" required
|
||||
placeholder="https://…"
|
||||
class="w-full border border-bg-rule px-3 py-2.5 text-[13px] bg-white text-ink focus:outline-none focus:border-brand" />
|
||||
@error('reported_url')
|
||||
<p class="mt-1 text-[12px] text-red-600">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<p class="text-[12.5px] text-ink-3 leading-relaxed">
|
||||
{{ __('static.pm_report.verification_note') }}
|
||||
</p>
|
||||
|
||||
<button type="submit"
|
||||
class="inline-flex items-center px-5 py-2.5 bg-brand text-white text-[13px] font-semibold hover:opacity-90">
|
||||
{{ __('static.pm_report.submit') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</x-web.static-page>
|
||||
@endsection
|
||||
|
|
@ -34,6 +34,17 @@
|
|||
<p>{!! __('static.report.intro_direct') !!}</p>
|
||||
<p>{!! __('static.report.intro_free') !!}</p>
|
||||
|
||||
{{-- Meldeverfahren v2 (Phase 3): Self-Service-Einstieg über die
|
||||
hinterlegte Pressekontaktadresse. --}}
|
||||
<div class="my-6 px-4 py-4 border border-bg-rule bg-bg-elev">
|
||||
<p class="font-semibold text-ink mb-1">{{ __('static.pm_report.title') }}</p>
|
||||
<p class="text-[13px] text-ink-2 mb-3">{{ __('static.pm_report.verification_note') }}</p>
|
||||
<a href="{{ route('melden.pm') }}"
|
||||
class="inline-flex items-center px-4 py-2 bg-brand text-white text-[13px] font-semibold hover:opacity-90 no-underline">
|
||||
{{ __('static.pm_report.breadcrumb') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h2>{{ __('static.report.way1_heading') }}</h2>
|
||||
<p>{{ __('static.report.way1_intro') }}</p>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue