Skip to content

app.project_shares

TableRow level security on

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.

Primary key: id

Columns of app.project_shares
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoShared project, owned by org_id.References app.projects.id
partner_organization_iduuidNoOrganization the project is shared with; never the owning org.References app.organizations.id
project_roleapp.project_roleNoProject role every active member of the partner org holds on the shared project.
valid_fromtimestamp with time zoneNoWhen the share starts.
valid_totimestamp with time zoneYesWhen the share ends on its own; NULL while open-ended.
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