Merge claude/security-b-1172: the consent version only goes up

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 11:17:51 +01:00
co-authored by Claude Opus 5.5
9 changed files with 165 additions and 5 deletions
+7
View File
@@ -129,6 +129,13 @@ export type IaplOptions = {
*/
cookieScanner?: boolean | CookieScannerOptions
/**
* Cookie settings (the global). `allowLowerPolicyVersion: true` lets an editor LOWER the consent version, as
* before 1.17.2 — a lower number makes consent given under an older policy valid again, so by default a save
* through access control with a lower number is refused (the Local API with `overrideAccess` may still).
*/
cookieSettings?: { allowLowerPolicyVersion?: boolean }
/**
* Forms — form-builder collections (forms, form-submissions) plus the
* callable submitForm (Turnstile + persistence + SMTP-from-panel email).