oshipka/bootstrap/webapp/view_models/Example.yaml_
2020-08-11 14:35:25 +02:00

24 lines
612 B
Plaintext

# 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)
- 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