From 73a1de0b4fc413daa3234def4693f0e1b022d8c2 Mon Sep 17 00:00:00 2001 From: Mike Schwarz <171890339+mvschwarz@users.noreply.github.com> Date: Sun, 1 Nov 2026 10:29:31 -0800 Subject: [PATCH] docs: correct migration 145 permission default comment (#2355) Migration 145's comment said a null `nodes.permissions_to` meant the runner refuses and holds attention, which was the first version's behaviour. It now says what the merged code does: with no chosen person, the default person is asked, and the request is permitted when nobody can be asked. Comment only; the migration's name, SQL and behaviour are unchanged. +1/-1. --- packages/daemon/src/db/migrations/145_node_permissions_to.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/daemon/src/db/migrations/145_node_permissions_to.ts b/packages/daemon/src/db/migrations/145_node_permissions_to.ts index 0b12960ed..f78ae488e 100644 --- a/packages/daemon/src/db/migrations/145_node_permissions_to.ts +++ b/packages/daemon/src/db/migrations/145_node_permissions_to.ts @@ -1,7 +1,7 @@ import type { Migration } from "../migrate.js"; /** The registered person who answers a runner seat's permission requests, chosen by its operator with - * `rig seat set-permissions-to`. Null (the default) means no answered route: the runner refuses and holds attention. */ + * `rig seat set-permissions-to`. Null (the default) asks the default person and permits the request if nobody can be asked. */ export const nodePermissionsToSchema: Migration = { name: "145_node_permissions_to.sql", sql: "ALTER TABLE nodes ADD COLUMN permissions_to TEXT;",