From cc91c045cef4dca1d142da90585c7acdec00adc7 Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Thu, 30 Jul 2020 15:13:33 -0400 Subject: [PATCH] Use m2o / o2m for users-roles --- api/src/database/seeds/system.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api/src/database/seeds/system.yaml b/api/src/database/seeds/system.yaml index 39cdc4933d..fd9fc80203 100644 --- a/api/src/database/seeds/system.yaml +++ b/api/src/database/seeds/system.yaml @@ -728,6 +728,10 @@ rows: locked: true special: o2m sort: 7 + options: + fields: + - first_name + - last_name width: full - collection: directus_roles field: admin @@ -1244,8 +1248,10 @@ rows: width: half - collection: directus_users field: role - interface: roles + interface: m2o locked: true + options: + template: '{{ name }}' sort: 16 width: half - collection: directus_users @@ -1695,5 +1701,4 @@ rows: many_field: action_by many_primary: id one_collection: directus_users - one_field: fields one_primary: id