app.delegations
TablaSeguridad a nivel de fila activa
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.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Delegation id. |
| org_id | uuid | No | Org of the delegator, derived from the membership.Hace referencia a app.organizations.id |
| delegator_membership_id | uuid | No | Member who delegates.Hace referencia a app.memberships.id |
| delegate_membership_id | uuid | No | Member who acts for the delegator; never the delegator.Hace referencia a app.memberships.id |
| capability_code | text | Sí | Delegated capability; null delegates every approve-class capability the delegator holds.Hace referencia a app.capabilities.code |
| valid_from | timestamp with time zone | No | When the delegation starts. |
| valid_to | timestamp with time zone | No | When the delegation ends. Delegations always expire. |
| reason | text | No | Why the delegation exists. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |