feat(frontend): CookieConsent v3 CSP-konform einbinden (#15) #42
No reviewers
Labels
No labels
Area/Admin
Area/CI
Area/Consent
Area/Frontend
Kind/Bug
Kind/Chore
Kind/Docs
Kind/Feature
Phase/1 Grundgerüst
Phase/2 Datenmodell und Admin
Phase/3 Consent-Frontend
Phase/4 Sulu-Analytics und Consent Mode v2
Phase/5 Schnittstelle und QA
Phase/6 Release
Priority/High
Priority/Low
Priority/Normal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Sulu-Bundles/wsc_sulubundle_orestbidacookieconsent!42
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/cookieconsent-frontend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Schließt #15.
vanilla-cookieconsent3.1.0 unverändert ausdist/(byte-identisch mit npm geprüft);FrontendAssetsTestwacht über die SHA256-Prüfsummenwsc-cookie-consent.jsbaut den Banner aus/wsc/consent-config.json(#17){{ wsc_cookie_consent() }}: nur Stylesheets, Wurzel-Element mit Konfigurations-URL (inkl. Sprachpräfix) unddefer-Scriptsdocs/frontend.md: Einbindung, CSP, Library-Version und Update-AblaufKorrekturen gegenüber dem Quell-Bundle:
style="…"-Attributen gebaut, die eine CSP ohneunsafe-inlineblockiert. Jetzt sind es Klassen inwsc-cookie-consent.css.http(s)://oder/übernommen.enabled: true), was bei Opt-in unzulässig ist. Jetzt ist nur „Notwendig“ aktiv und gesperrt.Geprüft: 124 Tests, PHPStan Level 8, cs-check grün. DDEV mit CSP
default-src 'self'; script-src 'self'; style-src 'self'als Meta-Tag:securitypolicyviolation(Gegenprobe mit absichtlichemstyle-Attribut schlägt an).["necessary"].Die Texte erscheinen bis #18 noch als Schlüssel.
🤖 Generated with Claude Code