Data UI Backlog

allowed-values must not fail the parent list

A permission error raised while building one field's option palette fails the whole parent list (and /api/item). lisp/backend.lisp — allowed-values walks every field with :target, :join-table, or :ui :options; for each, allowed-values-for-field does (or :source-all :source) and calls (be-list-column target-type … user). That inner be-list still runs valid-user-permissions on the target type. :skip-allowed-values t only stops recursion (bidirectional M2M); it does not skip the permission check. list-result has no handler-case, so a permission error on the target fails the outer list. This is what makes :users (:type-roles ("admin")) unsafe on Model Bank / chores / books (any type with a :target :users field).

Plan: allowed-values-nfpl-plan.org — catch validation-error per field, return an empty palette, log it. Does not apply the :users override (separate follow-up once this lands).

Implemented per the plan (see plan for full detail):

Slot
2500
Status
60 Done
Tags
mvp, backend, bug
Contributors
Donnie