Skip to content

app.shared_reports

TableRow level security on

Report runs shared with one engagement (Section 4.5.8 Client Reports). Written only by app.share_report and app.revoke_shared_report; a revoked or expired share stays as evidence and no longer opens.

Primary key: id

Columns of app.shared_reports
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.engagements on insert; never accepted from the caller and never changed.References app.organizations.id
engagement_iduuidNoEngagement the report is shared with.References app.engagements.id
project_iduuidNoProject of the engagement.References app.projects.id
report_run_iduuidNoFinished report run shared; its file is what the party sees.References app.report_runs.id
titletextNoTitle the party sees.
expires_attimestamp with time zoneYesWhen the share stops opening; NULL while open-ended.
revoked_attimestamp with time zoneYesWhen the org revoked the share.
revoked_byuuidYesPerson who revoked it.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id