app.project_shares
TablaSeguridad a nivel de fila activa
A project shared with a partner org (Section 8.5). The partner's members read the project and its shared scope nodes through projections without internal columns, and hold the share's project role on it; each org keeps its own records. Revoked by deleting the share; both audit ledgers record it.
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.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| project_id | uuid | No | Shared project, owned by org_id.Hace referencia a app.projects.id |
| partner_organization_id | uuid | No | Organization the project is shared with; never the owning org.Hace referencia a app.organizations.id |
| project_role | app.project_role | No | Project role every active member of the partner org holds on the shared project. |
| valid_from | timestamp with time zone | No | When the share starts. |
| valid_to | timestamp with time zone | Sí | When the share ends on its own; NULL while open-ended. |
| 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 |