Data UI Backlog

Allow :type-roles override on base-model types

lisp/model.lisp — The base model hardcodes :type-roles on system types (e.g. :users gets ("logged-in" "user-creator"), meaning every authenticated user can see the users tab). Model authors cannot change this today.

Approach: when the user model includes a base-model type (e.g. :users) with a :type-roles value, the compiler merge should let the user's value override the base model's default. This follows the existing merge philosophy. Example: a model that includes :users (:type-roles ("admin")) would restrict the users type to admins only.

This unblocks type categorization (system types hidden from non-admin users) and is needed for apps like Model Bank where users should not browse other users.

Plan: type-roles-override-plan.org.

Summary (2026-09-07): Implemented per plan, no deviations.

Slot
27500
Status
60 Done
Tags
mvp, compiler
Contributors
Donnie