feat: add protected fields to comments and enhance comments aggregation logic

This commit is contained in:
2026-05-17 15:23:48 +00:00
parent 349fb9b2da
commit b0af8ba329
3 changed files with 16 additions and 6 deletions
+3
View File
@@ -47,6 +47,7 @@ fields:
widget: foreignKey
foreign:
collection: content
protected: true
- name: author
type: string
@@ -54,6 +55,7 @@ fields:
required: true
meta:
label: { de: "Autor", en: "Author" }
protected: true
- name: message
type: string
@@ -62,3 +64,4 @@ fields:
meta:
label: { de: "Nachricht", en: "Message" }
widget: textarea
protected: true