Data UI Backlog

be-update fails misleadingly without record read access

Surfaced by the plan 12 Model Bank smoke <span class="timestamp-wrapper"><span class="timestamp">[2026-08-28 Fri]</span></span>. A user with type-level update permission (models-user) calling be-update on a record they cannot read gets a misleading validation error instead of a permission error.

Repro (modelbank, fresh DB):

  1. alice inserts a model with no :roles argument. The new resource's roles are only ("admin" "alice:exclusive"), so peers with models-user cannot read it (intended: point-to-point sharing).
  2. bob (has models-user, no share from alice) calls (be-update :models <id> '(:rating 5) "bob") and gets "Field validation failed: model name must be a valid :TEXT".
  3. bob retries with complete data '(:name "beta" :rating 5) and gets "FILTERS cannot be NIL [GMN aa378b]".

Verified:

Not yet traced:

Fix directions to weigh:

The default roles on insert (creator exclusive only) are intended; the bug is the misleading failure mode, not the default.

Fix (2026-08-28), per ~/workbench/data-ui-update-perm-plan.org:

Slot
26400
Status
60 Done
Tags
backend, bug
Contributors
Donnie