app.shared_reports
TablaSeguridad a nivel de fila activa
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.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.engagements on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| engagement_id | uuid | No | Engagement the report is shared with.Hace referencia a app.engagements.id |
| project_id | uuid | No | Project of the engagement.Hace referencia a app.projects.id |
| report_run_id | uuid | No | Finished report run shared; its file is what the party sees.Hace referencia a app.report_runs.id |
| title | text | No | Title the party sees. |
| expires_at | timestamp with time zone | Sí | When the share stops opening; NULL while open-ended. |
| revoked_at | timestamp with time zone | Sí | When the org revoked the share. |
| revoked_by | uuid | Sí | Person who revoked it.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |