Roles: prune unused seeded staff roles down to the org�s four #62

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

Soft-deletes hr_administrator, interviewer and ceo (guarded: skipped while any live user holds them). candidate stays � it is the applicant account type, not a staff role. Applies automatically at backend boot.

?? Generated with Claude Code

Soft-deletes hr_administrator, interviewer and ceo (guarded: skipped while any live user holds them). candidate stays � it is the applicant account type, not a staff role. Applies automatically at backend boot. ?? Generated with [Claude Code](https://claude.com/claude-code)
talha.ahmed added 1 commit 2026-09-02 17:01:08 +00:00
b7700b766a Roles: prune unused seeded staff roles down to the org's four
The organisation runs four staff roles - system_administrator,
recruiter, hiring_manager, department_head. Migration 026 soft-deletes
hr_administrator, interviewer and ceo (listings filter on is_deleted,
so they vanish from Access Control and every role picker). candidate
stays: it is the applicant account type every candidate user sits on,
not a staff role. Guarded: a role that still has live members is left
untouched until they are reassigned, and the idempotent migration picks
it up on a later boot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
talha.ahmed merged commit e292714b88 into main 2026-09-02 17:01:10 +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#62
There is no content yet.