mirror of
https://github.com/mvschwarz/openrig.git
synced 2026-11-07 05:56:21 -10:00
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.
This commit is contained in:
1 parent
eb6c158217
commit
73a1de0b4f
1 file changed
+1
-1
@@ -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;",
|
||||
|
||||
Reference in new issue
Block a user