Skip to main content

Managing the Assignment Template

Where to find it​

Admin panel → Assignment Template tab. Requires template:edit permission.

What you can do here​

The admin page lets you define the global default for how roles are staged in an episode. Changes here affect all future applications of the template — existing episodes are not modified.

Editing stages​

The interface mirrors the Episode Creators Modal:

  • Add Stage — adds a new empty stage at the bottom
  • Add Role (within a stage) — pick a role from the dropdown to add it to that stage
  • ↑ / ↓ arrows — move a role between stages
  • × button — remove a role from the template
  • Save Template — persists to the database

How the template is stored​

There is exactly one row in the episode_assignment_template table. Saving overwrites the stages JSONB column in place (upsert on conflict). The row ID is fixed (00000000-0000-0000-0000-000000000000).

Propagating changes to episodes​

Saving the template does not automatically update existing episodes. Team members apply the template manually per episode by clicking Use Template in the Episode Creators Modal.