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
|
2020-08-11 14:35:25 +02:00
|
|
|
interits: # list of inheritable classes, each line is one of (Ownable)
|
2020-07-08 14:38:55 +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
|
|
|
|
- name: body
|
|
|
|
type: long_text
|