Phase 13, part 8: a team's data is theirs

The owner exports everything from Settings → Your data (the keys only with
their password), and can delete the team: it closes at once, everyone in it
is told, it can be undone for 30 days, and then its schema, files, agents
and memberships go for good.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 12:40:28 -07:00
co-authored by Claude Opus 5.5
parent d35ed7cbb2
commit b8a64e258a
11 changed files with 501 additions and 4 deletions
+1
View File
@@ -381,6 +381,7 @@ func run(log *slog.Logger) error {
go srv.RunMetrics(ctx)
go srv.RunBackups(ctx)
go srv.RunAccounts(ctx)
go srv.RunTeams(ctx)
// A sync falls due, and a claim times out, without anything being
// written: refresh the state file each minute.
go func() {