ipal-upgrade: "→ 1.14.3" section for the cookie approval flow. PROGRAMISTA §6: item 52. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
44598bbef2
commit
a9e1adc03b
@@ -135,6 +135,19 @@ the banner → `<CookieBanner settings="detailed">` and remove the copy. With `d
|
||||
3. **Enforce later** — after a few days of clean `[csp]` lines in the Coolify logs: `mode: 'enforce'` in both places,
|
||||
redeploy, check the pages again. Record the date in `AGENTS.md` → "Project decisions".
|
||||
|
||||
**→ 1.14.3 (PROGRAMISTA §6, item 52; cookie approval; cookie-scanner.md) — only with `cookieScanner`:**
|
||||
1. `pnpm payload generate:importmap` — `@intecion/ipal-kit/admin#CookieApprovalView` and
|
||||
`@intecion/ipal-kit/admin#CookieCrawlAlert` (the dashboard reminder, also without `crawl`); commit `importMap.js`.
|
||||
2. Postgres/SQLite: `pnpm payload migrate:create` → `migrate` (`cookie_review.change` enum + index,
|
||||
`cookie_review.needs_description`); check the migration only adds columns. MongoDB: nothing.
|
||||
3. Tell the editors about **Approve cookies** (`/admin/cookie-approval`, linked from the scan box on Privacy →
|
||||
Cookie review and from the dashboard): tick, **Approve and add**, then
|
||||
describe the ones marked **Needs description**. The client wants the old entry-by-entry review →
|
||||
`cookieScanner: { approval: false }`; unknown cookies in another category → `approval: { unknownCategory }`.
|
||||
4. Behaviour: hand-typed Cookie list rows are looked up only while they have no review entry.
|
||||
**Check:** run a scan → the cookies appear on `/admin/cookie-approval`; approve one → it is in Cookie banner →
|
||||
Cookies in every language; the dashboard shows the reminder while cookies wait. Without `cookieScanner`: nothing.
|
||||
|
||||
## 2. Inventory (no code changes)
|
||||
For **every** item in the PROGRAMISTA §6 table show evidence (grep / file) of whether
|
||||
it applies to the project. Run the **ipal-audit** skill (`--quick`) and attach the result.
|
||||
|
||||
Reference in New Issue
Block a user