feat(15-02): add Posts admin with mlmarkdown and FormatHTML
YAML-driven Posts screen stores translatable markdown and regenerates content_html in the plugin. Publish writes without access_publish are refused; list and form queries stay on the principal without access_other_posts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
25
models/post/columns.yaml
Normal file
25
models/post/columns.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
columns:
|
||||
title:
|
||||
label: golem15.journal::lang.post.title
|
||||
searchable: true
|
||||
is_pinned:
|
||||
label: Pinned
|
||||
type: switch
|
||||
sortable: true
|
||||
categories:
|
||||
label: golem15.journal::lang.post.categories
|
||||
relation: categories
|
||||
select: name
|
||||
searchable: true
|
||||
sortable: false
|
||||
created_at:
|
||||
label: golem15.journal::lang.post.created
|
||||
type: date
|
||||
invisible: true
|
||||
updated_at:
|
||||
label: golem15.journal::lang.post.updated
|
||||
type: date
|
||||
invisible: true
|
||||
published_at:
|
||||
label: golem15.journal::lang.post.published
|
||||
type: date
|
||||
Reference in New Issue
Block a user