feat(consent): add versioned append-only consent ledger C1-C5
This commit is contained in:
1 parent
008254e44a
commit
de49f93b0b
64 files changed
+9244
-132
No files matched your search
@@ -3521,3 +3521,62 @@ InvitationSendBlocked:
|
||||
code: state_conflict
|
||||
detail: The resource is in a state that does not allow this operation.
|
||||
trace_id: 5b6c7d8e-9f0a-4b1c-8d2e-4f5a6b7c8d9e
|
||||
ConsentRecordListPage:
|
||||
summary: The whole consent history of a candidate on one page
|
||||
description: C1 was accepted at registration and again for a newer text version, so the first record is superseded; the version c1-2026-10-05 is an illustration, since the migration publishes only c1-2026-10-01 so far. C2 was granted and revoked. C4 was given in the acceptance of one invitation with the email only; the organization name is the one the consent text showed.
|
||||
value:
|
||||
items:
|
||||
- id: 01928f7a-9c0d-7e1f-8a2b-3c4d5e6f7a80
|
||||
purpose: c4
|
||||
state: active
|
||||
text_version: c4-2026-10-01
|
||||
source: invitation_acceptance
|
||||
granted_at: "2026-10-06T10:15:00Z"
|
||||
revoked_at: null
|
||||
revocation_source: null
|
||||
organization:
|
||||
id: 01928f7a-1a2b-7c3d-8e4f-5a6b7c8d9e01
|
||||
name: ООО Пример Платежи
|
||||
fields:
|
||||
- email
|
||||
invitation_id: 01928f7a-7a8b-7c9d-8e0f-1a2b3c4d5e6f
|
||||
invitation_terms_version: 3
|
||||
- id: 01928f7a-8b9c-7d0e-9f1a-2b3c4d5e6f70
|
||||
purpose: c1
|
||||
state: active
|
||||
text_version: c1-2026-10-05
|
||||
source: consent_settings
|
||||
granted_at: "2026-10-05T12:00:00Z"
|
||||
revoked_at: null
|
||||
revocation_source: null
|
||||
organization: null
|
||||
fields: null
|
||||
invitation_id: null
|
||||
invitation_terms_version: null
|
||||
- id: 01928f7a-7a8b-7c9d-8e0f-1a2b3c4d5e60
|
||||
purpose: c2
|
||||
state: revoked
|
||||
text_version: c2-2026-10-01
|
||||
source: consent_settings
|
||||
granted_at: "2026-10-02T09:00:00Z"
|
||||
revoked_at: "2026-10-04T18:30:00Z"
|
||||
revocation_source: consent_settings
|
||||
organization: null
|
||||
fields: null
|
||||
invitation_id: null
|
||||
invitation_terms_version: null
|
||||
- id: 01928f7a-6f7a-7b8c-9d0e-1f2a3b4c5d50
|
||||
purpose: c1
|
||||
state: superseded
|
||||
text_version: c1-2026-10-01
|
||||
source: registration
|
||||
granted_at: "2026-10-01T08:00:00Z"
|
||||
revoked_at: null
|
||||
revocation_source: null
|
||||
organization: null
|
||||
fields: null
|
||||
invitation_id: null
|
||||
invitation_terms_version: null
|
||||
page:
|
||||
has_more: false
|
||||
next_cursor: null
|
||||
Reference in new issue
Block a user