Saltar al contenido

app.role_assignments

TablaSeguridad a nivel de fila activa

People assigned to canon workforce roles on a project (Section 7.4 People, playbook Personnel Roster and Roles Library). The role is one of the 61 canon workforce roles; its staffing ratio and ratio basis are read from canon (xpms.dim_role), never copied. A person holds a role on a project once while it is Proposed or Active.

Clave primaria: id

Columnas de app.role_assignments
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
project_iduuidNoProject the role is worked on.Hace referencia a app.projects.id
scope_node_iduuidSíScope node of the project, when narrower than the project.Hace referencia a app.scope_nodes.id
role_codetextNoCanon workforce role (xpms.dim_role).Hace referencia a xpms.dim_role.role_code
person_iduuidNoPerson assigned, an active member of the org when assigned. External people work through engagements (A28).Hace referencia a app.people.id
requisition_iduuidSíRequisition the assignment fills, when it came from one.Hace referencia a app.requisitions.id
staffing_basisapp.staffing_basisNoRatio when planned from the canon staffing ratio (the role has one), Fixed when the canon basis is a fixed count per tier, Declared otherwise.
starts_ondateSíFirst day in the role.
ends_ondateSíLast day in the role.
assignment_stateapp.role_assignment_stateNoAssignment state. Changes only through app.transition_role_assignment.
deleted_attimestamp with time zoneSíSoft 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_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id