oshipka/bootstrap/webapp/view_models/Example.yaml_

24 lines
620 B
Plaintext
Raw Normal View History

2020-07-08 14:38:55 +02:00
# RENAME THIS FILE TO .yaml and use the structure below
#
name: Example # name of the model
searchable: # list of columns that are searchable
- body
interits: # list of inheritable classes, each line is one of (Ownable|Datable)
- 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
- name: body
type: long_text