/**
 * Canonical `hse.roles.role_id` values (shared across SAT and Risk Assessment).
 * Keep in sync with SAT_backend `src/constants/hseRoles.js`.
 *
 * Risk Assessment (ORAC): executor/verifier app users **must** use
 * `EXECUTOR_VERIFIER` = **4** (`EXECUTER/VARIFIER` in `hse.roles`). Do not map
 * that workflow to role_id 3 (Support).
 */
export const ROLE_IDS = Object.freeze({
  ADMIN: 1,
  USER: 2,
  SUPPORT: 3,
  EXECUTOR_VERIFIER: 4
});

/** @type {4} — alias for `ROLE_IDS.EXECUTOR_VERIFIER` (Risk ORAC + `hse.roles`). */
export const EXECUTOR_VERIFIER_ROLE_ID = ROLE_IDS.EXECUTOR_VERIFIER;
