Skip to content

app.partner_standing_grants

TableRow level security on

A standing grant written into the partner and client agreement (Section 4.6.1): the client Owner lets the partner's staff read one area of the client org until an expiry of at most a year, citing the agreement clause. Each issues an org-level record_grants row; either side may end it early. Partner staff never write through one.

Primary key: id

Columns of app.partner_standing_grants
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoClient org that granted the access.References app.organizations.id
partner_org_iduuidNoPartner org whose staff may read.References app.organizations.id
capability_codetextNoThe scope: one read capability, of those a support session may grant.References app.capabilities.code
agreement_referencetextNoThe clause of the partner and client agreement that provides the grant.
valid_fromtimestamp with time zoneNoWhen access began.
valid_totimestamp with time zoneNoWhen access ends on its own, at most a year after it began.
record_grant_iduuidNoOrg-level record grant the standing grant issued.References app.record_grants.id
ended_attimestamp with time zoneYesWhen someone ended the grant early.
ended_byuuidYesPerson who ended it early.References app.people.id
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.