Skip to content

app.role_capabilities

TableRow level security on

Capabilities a role grants and how far each reaches. System role rows are generated; custom role rows are edited by the org.

Primary key: id

Columns of app.role_capabilities
ColumnTypeNullableDescription
iduuidNoGrant id.
org_iduuidYesOrg of the role, derived from it; null for system roles.References app.organizations.id
role_iduuidNoRole that grants the capability.References app.roles.id
capability_codetextNoGranted capability.References app.capabilities.code
reachapp.capability_reachNoOwn rows, assigned scopes, or the whole org.
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.