Move the hackathon to a new phase (organizer)
ic_hack_admin_phaseMove the event through PRE -> OPEN -> BUILD -> SUBMIT -> LOCKED -> JUDGING -> RESULTS. One call gates every write surface, so this is the single lever for 'registration closes', 'submissions close', 'results are public'. Moving TO LOCKED also freezes every submission record permanently — a later rollback to SUBMIT reopens the window for NEW teams but does NOT unfreeze already-locked ones, so extending a deadline can never silently reopen editing for everyone. Backwards moves are allowed on purpose (deadline extensions are real). Args: { eid?, phase }. Returns: { ok, event, locked_count? }. Required scope: hack:admin (operator), OR hack:manage + the event_admin role on this event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eid | No | ||
| phase | Yes |