Skip to content

app.work_detail_events

TableRow level security on

The person's own access log for their work details (Section 8.4 access transparency): every change they make, every share and revocation, and every read or reveal by an engaging org, with the categories and changed column names but never a value. Written only by the database; the person reads all of theirs and an org's audit readers read the rows naming their org.

Primary key: id

Columns of app.work_detail_events
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
person_iduuidNoPerson whose work details were touched.References app.people.id
actor_person_iduuidYesPerson who acted; NULL for the database or a service.References app.people.id
org_iduuidYesOrg whose member acted or whose share changed; NULL for the owner's own changes.References app.organizations.id
engagement_iduuidYesEngagement the share serves, for share, read and reveal events.References app.engagements.id
actiontextNoWhat happened, as subject.verb: for example person_work_details.update, work_details.shared, work_details.viewed or passport.revealed.
categoriesapp.work_detail_category[]NoCategories the act covered.
changed_columnstext[]NoColumns an owner change touched, never their values.
reasontextYesReason an org member gave for revealing the passport number.
request_idtextYesAPI request id, for correlating with logs.
created_attimestamp with time zoneNoWhen it happened. Set by the database.