Skip to content

app.user_capability_grants

TableRow level security on

A capability granted to one member beyond their roles, org-wide or for one scope, time-boxed (Section 8).

Primary key: id

Columns of app.user_capability_grants
ColumnTypeNullableDescription
iduuidNoGrant id.
org_iduuidNoOrg of the membership, derived from it.References app.organizations.id
membership_iduuidNoMembership that receives the capability.References app.memberships.id
capability_codetextNoGranted capability.References app.capabilities.code
scope_kindapp.grant_target_kindYesKind of scope the grant is limited to; null for an org-wide grant.
scope_iduuidYesWorkspace, team, project or record the grant is limited to; null for an org-wide grant.
valid_fromtimestamp with time zoneNoWhen the grant starts.
valid_totimestamp with time zoneYesWhen the grant ends; null while open-ended.
granted_byuuidYesPerson who granted it; never the grantee.References app.people.id
reasontextNoWhy the grant was made.
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.