chore(work): finish 01-subject-linkage-types
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updated_at": "2026-05-19T09:55:07.388Z",
|
"updated_at": "2026-05-19T10:13:17.670Z",
|
||||||
"epics": {
|
"epics": {
|
||||||
"binder-wrap-helper": {
|
"binder-wrap-helper": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
@@ -239,10 +239,10 @@
|
|||||||
"prd": "docs/work/prds/dsr-consent-and-cookie-banner.prd.md",
|
"prd": "docs/work/prds/dsr-consent-and-cookie-banner.prd.md",
|
||||||
"stories": {
|
"stories": {
|
||||||
"01-subject-linkage-types": {
|
"01-subject-linkage-types": {
|
||||||
"status": "in-progress",
|
"status": "done",
|
||||||
"title": "Subject-linkage types in core-shared",
|
"title": "Subject-linkage types in core-shared",
|
||||||
"ac_total": 1,
|
"ac_total": 1,
|
||||||
"ac_completed": 0,
|
"ac_completed": 1,
|
||||||
"depends_on": [],
|
"depends_on": [],
|
||||||
"blocks": [
|
"blocks": [
|
||||||
"02-audit-enum-amendment"
|
"02-audit-enum-amendment"
|
||||||
@@ -571,8 +571,8 @@
|
|||||||
"ready": [
|
"ready": [
|
||||||
{
|
{
|
||||||
"epic": "dsr-consent-and-cookie-banner",
|
"epic": "dsr-consent-and-cookie-banner",
|
||||||
"story": "01-subject-linkage-types",
|
"story": "02-audit-enum-amendment",
|
||||||
"title": "Subject-linkage types in core-shared"
|
"title": "Audit action enum amendment (ADR-018)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"epic": "dsr-consent-and-cookie-banner",
|
"epic": "dsr-consent-and-cookie-banner",
|
||||||
@@ -586,14 +586,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"blocked": [
|
"blocked": [
|
||||||
{
|
|
||||||
"epic": "dsr-consent-and-cookie-banner",
|
|
||||||
"story": "02-audit-enum-amendment",
|
|
||||||
"title": "Audit action enum amendment (ADR-018)",
|
|
||||||
"waiting_on": [
|
|
||||||
"dsr-consent-and-cookie-banner/01-subject-linkage-types"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"epic": "dsr-consent-and-cookie-banner",
|
"epic": "dsr-consent-and-cookie-banner",
|
||||||
"story": "03-core-consent-foundation",
|
"story": "03-core-consent-foundation",
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ id: 01-subject-linkage-types
|
|||||||
epic: dsr-consent-and-cookie-banner
|
epic: dsr-consent-and-cookie-banner
|
||||||
title: Subject-linkage types in core-shared
|
title: Subject-linkage types in core-shared
|
||||||
type: technical-story
|
type: technical-story
|
||||||
status: in-progress
|
status: done
|
||||||
feature: core-shared
|
feature: core-shared
|
||||||
depends-on: []
|
depends-on: []
|
||||||
blocks: [02-audit-enum-amendment]
|
blocks: [02-audit-enum-amendment]
|
||||||
created: 2026-05-19T12:00:00Z
|
created: 2026-05-19T12:00:00Z
|
||||||
updated: 2026-05-19T09:55:07.020Z
|
updated: 2026-05-19T10:13:17.502Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -43,4 +43,4 @@ The DSR cascade (Epic B's `core-dsr`) walks `custom.subject` fields to discover
|
|||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
|
||||||
- [ ] Add `SubjectLink`, `SubjectLinkKind`, `CollectionSubject` types in `packages/core-shared/src/payload/subject-linkage-types.ts` + ambient declaration extending Payload `CollectionConfig.custom?` with `subject?: CollectionSubject | CollectionSubject[]` + extend `PAYLOAD_AUTH_PII_DEFAULTS` with `processingRestrictedAt` and `consentState` as excluded fields + export from `core-shared` payload barrel + add `custom.subject = { kind: "self", field: "id" }` to `packages/auth/`'s `users` collection config; all gates pass.
|
- [x] Add `SubjectLink`, `SubjectLinkKind`, `CollectionSubject` types in `packages/core-shared/src/payload/subject-linkage-types.ts` + ambient declaration extending Payload `CollectionConfig.custom?` with `subject?: CollectionSubject | CollectionSubject[]` + extend `PAYLOAD_AUTH_PII_DEFAULTS` with `processingRestrictedAt` and `consentState` as excluded fields + export from `core-shared` payload barrel + add `custom.subject = { kind: "self", field: "id" }` to `packages/auth/`'s `users` collection config; all gates pass.
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ features:
|
|||||||
auth,
|
auth,
|
||||||
]
|
]
|
||||||
created: 2026-05-19T12:00:00Z
|
created: 2026-05-19T12:00:00Z
|
||||||
updated: 2026-05-19T09:55:07.020Z
|
updated: 2026-05-19T10:13:17.502Z
|
||||||
---
|
---
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
@@ -29,7 +29,7 @@ Epic A delivered declarative PII inventory + retention + sub-processors. Epic B
|
|||||||
|
|
||||||
## Stories
|
## Stories
|
||||||
|
|
||||||
- [ ] [01 — Subject-linkage types in core-shared](01-subject-linkage-types/_story.md)
|
- [x] [01 — Subject-linkage types in core-shared](01-subject-linkage-types/_story.md)
|
||||||
- [ ] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md)
|
- [ ] [02 — Audit action enum amendment (ADR-018)](02-audit-enum-amendment/_story.md)
|
||||||
- [ ] [03 — core-consent foundation: types + brand + withConsent + conformance + ESLint rule](03-core-consent-foundation/_story.md)
|
- [ ] [03 — core-consent foundation: types + brand + withConsent + conformance + ESLint rule](03-core-consent-foundation/_story.md)
|
||||||
- [ ] [04 — core-consent implementation: Payload impl + DI + migration helpers + tRPC router](04-core-consent-implementation/_story.md)
|
- [ ] [04 — core-consent implementation: Payload impl + DI + migration helpers + tRPC router](04-core-consent-implementation/_story.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user