Skip to main content

Module m0052_drone_access

Module m0052_drone_access 

Source
Expand description

The table behind who may fire a drone (docs/specs/SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md §6.5).

db_drone_access(drone_id, agent, kind, at, by): owner is the agent that created the drone, granted an agent a person (or the owner) gave it to. An agent fires a drone it owns or was given at once; any other drone goes through the sensitive-operation countdown. A drone that was there before this migration has no row, so no agent owns it and every agent’s fire of it takes the countdown. There is no foreign key to db_drone_definitions, for the reason m0049 has none (a definition and its runs can live in different stores).

The table belongs beside the definitions, in the shared store, and the per-channel store is created too for the fallback id_store of an install whose shared backfill has not run. Both are IF NOT EXISTS, so a second run changes nothing.

Structs§

M0052DroneAccess