Artifact e997d75dcef01c0c61e6c58b3d823199fa92ecd4850fd0918ae879216c328879:
- File
go.mod
— part of check-in
[bf5ba9d2fc]
at
2026-08-16 17:07:31
on branch trunk
— oltp: accounts and per-repo roles
0001 §8's v2 tables. Accounts are the web/API identity (argon2id verifier, site-admin flag, read/write/admin per repo); the RFC §6.3 shared secret stays the sync credential, since the protocol fixes its derivation and the server must recompute it.
ops.Auth becomes the required role, so the Admin level that was already declared now means something. The gate stays open until the first account exists, mirroring the sync-user policy, so existing deployments and local single-user serving are unaffected. (user: dmestas, size: 1200) [annotate] [blame] [check-ins using]
module craftdesign.group/quarry go 1.26.5 require ( github.com/alecthomas/chroma/v2 v2.27.0 github.com/danmestas/dagnats v0.0.13 github.com/microcosm-cc/bluemonday v1.0.27 github.com/nats-io/nats-server/v2 v2.14.5 github.com/nats-io/nats.go v1.53.1 github.com/ncruces/go-sqlite3 v0.35.3 github.com/tetratelabs/wazero v1.12.0 github.com/yuin/goldmark v1.8.5 github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc golang.org/x/crypto v0.55.0 golang.org/x/net v0.58.0 ) require ( github.com/antithesishq/antithesis-sdk-go v0.7.2-default-no-op // indirect github.com/aymerick/douceur v0.2.0 // indirect github.com/dlclark/regexp2/v2 v2.2.1 // indirect github.com/google/go-tpm v0.9.8 // indirect github.com/gorilla/css v1.0.1 // indirect github.com/klauspost/compress v1.19.2 // indirect github.com/minio/highwayhash v1.0.4 // indirect github.com/nats-io/jwt/v2 v2.8.2 // indirect github.com/nats-io/nkeys v0.4.16 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/ncruces/go-sqlite3-wasm/v3 v3.2.35304 // indirect github.com/ncruces/julianday v1.0.0 // indirect golang.org/x/sys v0.47.0 // indirect golang.org/x/time v0.15.0 // indirect )