c668bf82

By: Michael Lynch <git@mtlynch.io>

Resolve owner status in middleware so newPageData can't fail

newPageData previously did a fallible currentUser DB read to compute
IsOwner, forcing every page handler to add identical error-handling
boilerplate. Move that lookup into a resolveOwner middleware that stashes
owner status in the request context (mirroring the cspNonce pattern), so
newPageData returns a plain pageData again.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>