blog/webapp/view_models/BlogPost.yaml

31 lines
530 B
YAML
Raw Normal View History

2020-07-08 14:36:13 +02:00
name: BlogPost
searchable:
- body
2021-05-15 01:04:17 +02:00
inherits:
2020-07-08 14:36:13 +02:00
- Ownable
access:
- verb: all
login_required: true
roles_required:
- admin
- verb: get
login_required: false
- verb: list
login_required: false
- verb: table
login_required: false
- verb: search
login_required: false
columns:
- name: filename
2020-07-13 11:54:16 +02:00
- name: title
2020-07-08 14:36:13 +02:00
- name: body
2020-08-11 13:17:53 +02:00
type: long_text
2021-05-01 16:19:02 +02:00
- name: tag
type: relationship
multiple: yes
2020-08-11 13:17:53 +02:00
- name: created_dt
2021-02-25 11:44:30 +01:00
- name: updated_dt
display:
primary: title
secondary: created_dt