Saltar al contenido

app.work_detail_shares

TablaSeguridad a nivel de fila activa

A person's consent to share chosen categories of their work details with the org that engages them, for one engagement (Section 4.5.6 item 10, Section 14.3). Written only by app.share_work_details and app.revoke_work_detail_share; one live share per engagement. The org reads what was shared through app.shared_work_details while the share stands and the engagement is open.

Clave primaria: id

Columnas de app.work_detail_shares
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.engagements on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
engagement_iduuidNoEngagement the share serves.Hace referencia a app.engagements.id
person_iduuidNoPerson sharing, the engagement's party.Hace referencia a app.people.id
consent_record_iduuidNoThe work_details_sharing consent record for the org.Hace referencia a app.consent_records.id
categoriesapp.work_detail_category[]NoCategories shared, each once, in enum order.
shared_attimestamp with time zoneNoWhen the share was given.
revoked_attimestamp with time zoneSíWhen the person revoked it; NULL while it stands.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.