✨ feat: add protected fields to comments and enhance comments aggregation logic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user