Files
directus/api/src/database/system-data/fields/roles.yaml
Rijk van Zanten d750c7ebc4 Move module setup to Project Settings (#8012)
* 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
2021-09-14 18:07:46 -04:00

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