Uh oh!
There was an error while loading. Please reload this page.
feat(app-shell,console,types)!: adopt @objectstack/spec 13 — Permission Model v2 (ADR-0090) UI fallout - #2369
Conversation
…on Model v2 (ADR-0090) UI fallout Bump every workspace @objectstack/spec dep to ^13.0.0 and fix the v2 fallout: position replaces role in the draft-validation loader map (#2365), Studio previews, fallback schemas, i18n labels and the console System hub; the profile concept (D2) is fully removed from loaders, anchors, samples and the permission-set viewer badge; the OWD control drops the dead read/read_write/full alias normalization (D4) and the fully-public unset warning (unset now defaults to private, D1). Also exports SubmitBehavior from @object-ui/types — defined but missing from the public surface, which broke @object-ui/plugin-form's re-export on any uncached build. Closes#2365 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub. |
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
…es (ADR-0090) Object Settings sharing card gains the externalSharingModel select (portal/partner baseline) with an inline wider-than-internal warning mirroring the D7 publish lint's ordering (private < public_read < public_read_write). The permission matrix shows each object's OWD pair as row badges — authored values or the D1 fail-closed 'Private (default)' — so grant edits carry their record-reach context. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
os-zhuang
commented
Jul 10, 2026
Pushed a second commit extending the PR with the two remaining pure-UI items from framework#2696's ObjectUI follow-ups:
Tests: 1168/1168 app-shell tests green (new coverage: dial render/patch/clear, wider-warning on/off, per-row badge presence incl. the no-Ext case); console build green. Not included (blocked on framework surfaces, flagged on the tracking issue): the |
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
Uh oh!
There was an error while loading. Please reload this page.
What
Bumps every workspace
@objectstack/specdependency^12.3.0→^13.0.0(the ADR-0090 Permission Model v2 major, already on npm) and fixes all UI fallout in one sweep. Closes#2365; resolves the objectui follow-ups tracked in objectstack-ai/objectstack#2696.Why
objectui only passed CI because its dependency tree still resolved spec 12.3.0 (
^12.xcan't reach the v2 major). Anything vendoring framework HEAD (proaero-erp, the framework console build) hitRoleSchema does not existat build time. The rename wave is deliberate and alias-free (launch window), so the fix is adoption, not compat.Changes
roleloader →position→PositionSchema([HIGH PRIORITY] fix(metadata-admin): RoleSchema → PositionSchema in clientValidation.ts (ADR-0090 D3) #2365); deadprofileloader removed (D2)RolePreview→ flatPositionPreview(no hierarchy breadcrumb — positions are deliberately flat; no Profile copy). Legacyrole/profilekeys stay registered so pre-v2 backends still renderread/read_write/fullalias normalization removed (D4: spec rejects at authoring); amber "records are fully public" unset warning replaced — unset now defaults to Private (D1) and the copy (en/zh) says sorolefallback schema → flatposition;isProfiledropped from the permission create-anchor (would 422 against spec 13 authoring) and samples; permission viewer profile badge removedRole/角色→Position/岗位;profilelabel removed; Access-pillar heading "Permission sets / Profiles" → "Permission sets"; sharing hint/desc rewritten to positions vocabularysys_role→sys_position(counts + object def; the routed page was already orphaned)SubmitBehavior(defined but missing from the public surface; brokeplugin-form's re-export on any uncached build)ObjectRequiredPermissionsSchema, so the toggle correctly shows)Intentionally unchanged: flow designer approval assignee
rolekind — spec 13 keeps it as the sole D3 exception (better-authsys_member.roleorg-membership tier, seeapproval.zod.ts).Testing
turbo build --filter=@object-ui/app-shell...and--filter=@object-ui/console --filter=@object-ui/sitegreen against spec 13.0.0🤖 Generated with Claude Code