Roles: consolidate the hand-made Manager role; Title Case role names #63

Merged
talha.ahmed merged 1 commits from Talha into main 2026-09-02 17:11:12 +00:00

Migration 027 moves Manager members onto hiring_manager and soft-deletes it (guarded, idempotent). Access Control no longer lists candidate (applicant account type; DB row stays). formatRole renders role names and status enums Title Case across Access Control, Settings, topbar, Candidates and the inbox badges.

?? Generated with Claude Code

Migration 027 moves Manager members onto hiring_manager and soft-deletes it (guarded, idempotent). Access Control no longer lists candidate (applicant account type; DB row stays). formatRole renders role names and status enums Title Case across Access Control, Settings, topbar, Candidates and the inbox badges. ?? Generated with [Claude Code](https://claude.com/claude-code)
talha.ahmed added 1 commit 2026-09-02 17:10:23 +00:00
e7752b94e6 Roles: consolidate the hand-made Manager role; Title Case role names
Migration 027 moves live members of the UI-created Manager role onto
the seeded hiring_manager (which has carried the same
manager_candidates bundle since 024) and soft-deletes it - guarded and
idempotent, the seeded role is never matched.

Access Control no longer lists candidate: it is the applicant account
type every candidate user sits on, managed nowhere near a permission
matrix. The row stays in the DB.

New lib/format.js formatRole renders snake_case role names and
ALL-CAPS status enums as Title Case everywhere users see them -
Access Control, Settings user badges and role picker, the topbar
profile, Candidates role column and export, and the inbox
application-status badges (INTERVIEW -> Interview).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
talha.ahmed merged commit 2400f0fef8 into main 2026-09-02 17:11:12 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: utopia-ai/HR-ATS-Portal#63
There is no content yet.