Skip to main content

Function: verifyCandidatePrc()

verifyCandidatePrc(_prev, formData): Promise<RecruitingState>

Defined in: src/server/actions/recruiting.ts:237

Mark PRC verified (the hard gate for stage advancement + hire) and log the verification assessment.

Decision (accepted, review H1): any company admin may self-certify PRC verification and the six pre-hire compliance checks — there is no separation-of-duties / second-approver requirement. The gates remain DB-enforced (a hire/advance is impossible until the rows exist) but are satisfiable by the same person. Revisit if a dual-control policy is adopted.

Parameters

_prev

RecruitingState

formData

FormData

Returns

Promise<RecruitingState>