mirror of
https://github.com/directus/directus.git
synced 2026-01-29 14:07:57 -05:00
* Move module bar setup to project settings * Add system modules interface to dnd configure module bar * Cleanup order * Crucially important typo * Add ability to add custom links * Show correct initial value marker
109 lines
2.9 KiB
YAML
109 lines
2.9 KiB
YAML
table: directus_roles
|
|
|
|
fields:
|
|
- field: id
|
|
hidden: true
|
|
interface: input
|
|
special: uuid
|
|
|
|
- field: name
|
|
interface: input
|
|
options:
|
|
placeholder: $t:field_options.directus_roles.name
|
|
width: half
|
|
|
|
- field: icon
|
|
interface: select-icon
|
|
display: icon
|
|
width: half
|
|
|
|
- field: description
|
|
interface: input
|
|
options:
|
|
placeholder: $t:field_options.directus_roles.description
|
|
width: full
|
|
|
|
- field: app_access
|
|
interface: boolean
|
|
special: boolean
|
|
width: half
|
|
|
|
- field: admin_access
|
|
interface: boolean
|
|
special: boolean
|
|
width: half
|
|
|
|
- field: ip_access
|
|
interface: tags
|
|
options:
|
|
placeholder: $t:field_options.directus_roles.ip_access
|
|
special: csv
|
|
width: full
|
|
|
|
- field: enforce_tfa
|
|
interface: boolean
|
|
special: boolean
|
|
width: half
|
|
|
|
- field: users
|
|
interface: list-o2m
|
|
special: o2m
|
|
options:
|
|
fields:
|
|
- first_name
|
|
- last_name
|
|
width: full
|
|
|
|
- field: collection_list
|
|
interface: list
|
|
options:
|
|
template: '{{ group_name }}'
|
|
addLabel: $t:field_options.directus_roles.collection_list.group_name_addLabel
|
|
fields:
|
|
- name: $t:field_options.directus_roles.collection_list.fields.group_name
|
|
field: group_name
|
|
type: string
|
|
meta:
|
|
width: half
|
|
interface: input
|
|
options:
|
|
iconRight: title
|
|
placeholder: $t:field_options.directus_roles.collection_list.fields.group_placeholder
|
|
schema:
|
|
is_nullable: false
|
|
- name: $t:field_options.directus_roles.collection_list.fields.type_name
|
|
field: accordion
|
|
type: string
|
|
schema:
|
|
default_value: always_open
|
|
meta:
|
|
width: half
|
|
interface: select-dropdown
|
|
options:
|
|
choices:
|
|
- value: always_open
|
|
text: $t:field_options.directus_roles.collection_list.fields.choices_always
|
|
- value: start_open
|
|
text: $t:field_options.directus_roles.collection_list.fields.choices_start_open
|
|
- value: start_collapsed
|
|
text: $t:field_options.directus_roles.collection_list.fields.choices_start_collapsed
|
|
- name: $t:field_options.directus_roles.collections_name
|
|
field: collections
|
|
type: JSON
|
|
meta:
|
|
interface: list
|
|
options:
|
|
addLabel: $t:field_options.directus_roles.collections_addLabel
|
|
template: '{{ collection }}'
|
|
fields:
|
|
- name: $t:field_options.directus_roles.collections_name
|
|
field: collection
|
|
type: string
|
|
meta:
|
|
interface: system-collection
|
|
width: full
|
|
schema:
|
|
is_nullable: false
|
|
special: json
|
|
width: full
|