The operator's idea while #21061 was being built: a blog post on this side project, showing that it got done fast. The work started from a community question on Slack: what is "the proper way" to show menu and sub-menu items that depend on the permissions a backend returns after sign-in? The answer became a demo app plus two engine fixes, all opened as reviewed pull requests within about an hour.
The Problem
Permission-driven navigation is the first thing most business apps need after sign-in, and the usual answer elsewhere is imperative: a service builds component lists per permission for each menu. Neo's answer is shorter, but nobody can find it yet: permissions are provider state, navigation is records in one store, and visibility is one filter that every bound view follows. The pace is a second, separate story. One maintainer took a stranger's question to an epic, two engine fixes found on the way, and a polished, tested demo, each step a reviewed PR. The pace is evidence for that story, never the hook.
The Architectural Reality
Design authority: n/a: a new post; it calls no existing behavior wrong.
The post follows .agents/skills/blog-post/references/blog-authoring-guide.md:
Reader first. The reader is a developer, human or agent, wiring up role-based menus.
Visuals. At least one Mermaid diagram plus screenshots.
Claims. Record claims carry their receipts; the over-claim audit applies.
Review. One consolidated fact check at the final version by a seat that did not draft it, and at least two model reviews, one of them from another family. The operator approves last.
Registration. The post registers in apps/portal/resources/data/blog.json. Images go to neomjs/pages under resources_pub/website/blog/<slug>/.
Record anchors for the timeline (UTC; cite, do not re-measure):
learn/blog/<slug>.md, plus the blog.json registration:
Hook. The job in progress: one sign-in, four accounts, and menus and sub menus that must show exactly what each may use.
Turn. Three pieces: a provider value, one TreeStore, and one included filter. The two details that make it correct are includeEmptyValues: false (fail-closed) and groups that carry no permission (TreeStore ancestor preservation).
Evidence. Screenshots per account, the live permission panel, and the window growing out of its icon. Add one Mermaid diagram of the state → filter → views flow.
Engine fixes. What the demo exposed and fixed: tree-store menus (#21062) and dialogs from any node (#21071).
Pace. The timeline above as receipts, with "opened" kept apart from "merged".
Try-It. Run apps/webdesktop, then the three pieces to copy into the reader's own app.
Outbound. A draft per outbound-post.md §0, in the same PR.
Acceptance Criteria
learn/blog/<slug>.md exists and is registered in blog.json, and the JSON parses.
The title and opening state the reader's job, not the product or the pace; the pace is proven in the subtitle or body from the receipts above.
At least one Mermaid diagram plus screenshots (sign-in, two accounts' desktops, the permission panel, a window opening from its icon). Images live in neomjs/pages, and each is checked at reading size on #/news/blog/<id>.
The Try-It section runs the demo and names the three pieces to copy.
Over-claim audit: no unsourced "first / fastest", no "shipped" for unmerged work, and no client or community member named.
One consolidated fact check at the final version by a non-drafting seat, and at least two model reviews, one from another family. The operator approves last.
The outbound draft is in the PR.
Out of Scope
New features for the demo (#21065 drag and drop is not a prerequisite; the post may mention it if merged).
Subject: #21061 and its leaves. Blocked by #21064, so the post shows windows.
Lands on dev before the Engine 14 cut (2026-11-23) to ship with the release, if the reviews allow.
Live latest-open + closed sweep: open Blog Post label, open "blog post demo", closed "blog web desktop" at 2026-11-16T00:5xZ; no equivalent. Backlog 60 open (red); no owner to fold into.
Origin Session ID: f1b70a0d-406f-4b7d-a69c-20d35c843303
Retrieval Hint: "web desktop blog post permission-driven navigation timeline receipts"
tobiu referenced in commit 1ba690d - "docs(blog): role-based navigation from one store filter, shown on the web desktop demo (#21074) (#21088) on Nov 16, 2026, 8:49 AM
Context
The operator's idea while #21061 was being built: a blog post on this side project, showing that it got done fast. The work started from a community question on Slack: what is "the proper way" to show menu and sub-menu items that depend on the permissions a backend returns after sign-in? The answer became a demo app plus two engine fixes, all opened as reviewed pull requests within about an hour.
The Problem
Permission-driven navigation is the first thing most business apps need after sign-in, and the usual answer elsewhere is imperative: a service builds component lists per permission for each menu. Neo's answer is shorter, but nobody can find it yet: permissions are provider state, navigation is records in one store, and visibility is one filter that every bound view follows. The pace is a second, separate story. One maintainer took a stranger's question to an epic, two engine fixes found on the way, and a polished, tested demo, each step a reviewed PR. The pace is evidence for that story, never the hook.
The Architectural Reality
Design authority: n/a: a new post; it calls no existing behavior wrong.
The post follows
.agents/skills/blog-post/references/blog-authoring-guide.md:apps/portal/resources/data/blog.json. Images go toneomjs/pagesunderresources_pub/website/blog/<slug>/.Record anchors for the timeline (UTC; cite, do not re-measure):
The Fix
learn/blog/<slug>.md, plus theblog.jsonregistration:TreeStore, and oneincludedfilter. The two details that make it correct areincludeEmptyValues: false(fail-closed) and groups that carry no permission (TreeStore ancestor preservation).apps/webdesktop, then the three pieces to copy into the reader's own app.outbound-post.md§0, in the same PR.Acceptance Criteria
learn/blog/<slug>.mdexists and is registered inblog.json, and the JSON parses.neomjs/pages, and each is checked at reading size on#/news/blog/<id>.Out of Scope
Related
devbefore the Engine 14 cut (2026-11-23) to ship with the release, if the reviews allow.Live latest-open + closed sweep: open
Blog Postlabel, open "blog post demo", closed "blog web desktop" at 2026-11-16T00:5xZ; no equivalent. Backlog 60 open (red); no owner to fold into.Origin Session ID: f1b70a0d-406f-4b7d-a69c-20d35c843303 Retrieval Hint: "web desktop blog post permission-driven navigation timeline receipts"