Skip to content

app.delegations

TableRow level security on

Time-boxed delegation of a member's capability to another member of the same org, for example approvals while out of office. One hop only: delegated capabilities are not delegated again.

Primary key: id

Columns of app.delegations
ColumnTypeNullableDescription
iduuidNoDelegation id.
org_iduuidNoOrg of the delegator, derived from the membership.References app.organizations.id
delegator_membership_iduuidNoMember who delegates.References app.memberships.id
delegate_membership_iduuidNoMember who acts for the delegator; never the delegator.References app.memberships.id
capability_codetextYesDelegated capability; null delegates every approve-class capability the delegator holds.References app.capabilities.code
valid_fromtimestamp with time zoneNoWhen the delegation starts.
valid_totimestamp with time zoneNoWhen the delegation ends. Delegations always expire.
reasontextNoWhy the delegation exists.
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.