d8a46b0e

By: Michael Lynch <git@mtlynch.io>

Use admin permissions for sessions and user reads

The user model and SQLite schema use IsAdmin / is_admin, but session creation and user read paths still referenced the removed IsOwner / is_owner names. This prevented the Go and e2e Nix test targets from compiling.

Update those paths to read and serialize admin permissions, and migrate stale test setup to the current InsertUser API.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 2m19s 2m19s 2m20s
Build 25s 14m47s 2m24s 2m50s
Test - - - -
Deploy - - - -
Suite 0s 17m07s 2m49s 2m50s

Timeline

0s20s40s1m1m20s1m40s2m2m20s2m40s