Publish workflow (F)
Drafts and publishing for a public row type. Today a draft is only a row whose public role is unchecked, and adding roles to a row skips the holder check for public and for the type's declared roles, so any account that can update a row can publish it (lisp/backend.lisp). Every public date is the row's creation time: the built-in :created-at / :updated-at are not writable, so there is no publish time and no scheduling.
The ask:
- A declared publication gate on a public type, with a publish time, honoured by the type index, the sitemap, the feed, guest reads and the public-url decorators. A draft stays invisible to all of them, as today.
- Publishing is reserved: Donnie publishes, the way he stages and commits (2026-11-29). Authors and agents save drafts.
For the plan: the spelling in the model (a field flag, a type key, or the row's public role under a tighter rule for who may add it); whether a publish time in the future withholds the row or only displays; which date a reader sees once a publish time is set. Pages already have the better half: a Published checkbox gating the projection. A date-time picker for entering the time is its own item ("Date-time picker :ui widget"). Consumer: the blog, item (I).
- Slot
- 7222
- Status
- 10 Open
- Tags
- mvp, backend, model, public, blog
- Contributors
- Donnie, Sofia