Forkbase 0.2.4
Engine 0.9.3; Security: act_as in chronos mode; Docs
- 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_asin 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; itspg_roleonly applies to postgres mode's write-back). Forkbase now replays anact_asrun'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_asjudges 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 itemswithout a schema now lands inpublic(the schemas inrest.schemas), like the REST API reads it. In chronos mode it went into Forkbase's ownforkbaseschema, where REST never served it. Tables made that way stay there: move one withalter table forkbase.items set schema public.