GitHubWaitlist

Changelog / Forkbase

Forkbase 0.2.4

Engine 0.9.3; Security: act_as in chronos mode; Docs

4 changesDownloads

  • Engine 0.9.3: queries no longer stall after a burst of writes (every query that needed a table's search index rebuilt it at once; list queries and agent runs' SELECTs took up to 5 s on a 30,000-row table), and tenant agents can't reach another tenant's rows through a foreign key. The installer and the image use it.
  • Security: act_as in chronos mode: a run acting as a person could merge changes that person's row-level security doesn't allow (the engine merges a world into main as itself; its pg_role only applies to postgres mode's write-back). Forkbase now replays an act_as run's merge on main as the person, in a transaction it rolls back, before merging it (propose and approve): a change the policies or grants refuse answers 403 and nothing merges, and the merge goes no further than the version checked. Postgres mode was already judged by Postgres.
  • Docs: act_as judges the writes a run merges, in both modes; reads and writes inside the run's world are not filtered (agents.md, "Acting as a person").
  • Fix: the SQL editor makes tables where the API serves them. create table items without a schema now lands in public (the schemas in rest.schemas), like the REST API reads it. In chronos mode it went into Forkbase's own forkbase schema, where REST never served it. Tables made that way stay there: move one with alter table forkbase.items set schema public.
Forkbase 0.2.4 · Chronos