Skip to content

app.role_library

TableRow level security on

The org's job descriptions per canon role: its editable copy of the Roles Library (xpms.role, decision D12). Role codes stay canon; the org edits the title and the description. One row per role, kept when removed, so adopting again never brings it back.

Primary key: id

Columns of app.role_library
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
role_codetextNoCanon role code (xpms.role) the row describes.References xpms.role.role_code
job_titletextNoThe org's job title for the role.
job_summarytextYesSummary of the job.
key_responsibilitiestextYesKey responsibilities.
qualificationstextYesQualifications.
physical_requirementstextYesPhysical requirements.
required_certificationstextYesCertifications the role requires.
default_clearance_tiertextYesClearance tier the role usually carries.
default_radio_channeltextYesRadio channel the role usually monitors.
deleted_attimestamp with time zoneYesSoft 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_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