Skip to content

app.access_grid

TableRow level security on

The access grid (Section 7.4): which credential category may enter which zone, at what canon access level, during which time window.

Primary key: id

Columns of app.access_grid
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.credential_categories on insert; never accepted from the caller and never changed.References app.organizations.id
credential_category_iduuidNoCredential category.References app.credential_categories.id
zone_iduuidNoZone of the same org.References app.zones.id
access_level_enum_idtextNoAccess level: a row of the canon Access Level enumeration.References xpms.std_enumeration.record_id
window_starts_attimestamp with time zoneNoWhen access opens.
window_ends_attimestamp with time zoneNoWhen access closes.
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
project_iduuidNoProject of the grid row's category, copied by the database for Compass sync.References app.projects.id