diff --git a/echo/directus/sync/collections/folders.json b/echo/directus/sync/collections/folders.json index 3986af36..de17c519 100644 --- a/echo/directus/sync/collections/folders.json +++ b/echo/directus/sync/collections/folders.json @@ -1,12 +1,12 @@ [ - { - "_syncId": "416965c6-7695-4235-8322-8515c9a05820", - "name": "custom_logos", - "parent": null - }, - { - "_syncId": "74232676-80e7-4f8c-8012-c0d59e6d0a24", - "name": "Public", - "parent": null - } + { + "name": "custom_logos", + "parent": null, + "_syncId": "416965c6-7695-4235-8322-8515c9a05820" + }, + { + "name": "Public", + "parent": null, + "_syncId": "74232676-80e7-4f8c-8012-c0d59e6d0a24" + } ] diff --git a/echo/directus/sync/collections/permissions.json b/echo/directus/sync/collections/permissions.json index e02c7dbc..092af417 100644 --- a/echo/directus/sync/collections/permissions.json +++ b/echo/directus/sync/collections/permissions.json @@ -900,6 +900,87 @@ "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", "_syncId": "def59c0a-db5f-4c16-9d90-958bfffa72a9" }, + { + "collection": "directus_files", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "folder": { + "name": { + "_contains": "custom_logos" + } + } + }, + { + "folder": { + "name": { + "_contains": "Public" + } + } + }, + { + "folder": { + "parent": { + "name": { + "_contains": "Public" + } + } + } + }, + { + "folder": { + "parent": { + "parent": { + "name": { + "_contains": "Public" + } + } + } + } + } + ] + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "title", + "description", + "tags", + "location", + "storage", + "focal_point_divider", + "focal_point_x", + "focal_point_y", + "storage_divider", + "filename_disk", + "filename_download", + "metadata", + "type", + "filesize", + "created_on", + "modified_by", + "modified_on", + "embed", + "uploaded_by", + "uploaded_on", + "width", + "folder", + "height", + "duration", + "charset", + "tus_id", + "tus_data", + "$thumbnail" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "2edbb99f-dc6c-46dd-9337-8e128aef9eaa" + }, { "collection": "directus_revisions", "action": "read", @@ -920,7 +1001,8 @@ "presets": null, "fields": [ "disable_create_project", - "projects" + "projects", + "whitelabel_logo" ], "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", "_syncId": "25411e4e-fb6c-41e7-be7b-300ca3b503ef" @@ -957,7 +1039,8 @@ "token", "id", "last_page", - "last_access" + "last_access", + "whitelabel_logo" ], "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", "_syncId": "6377dace-23ad-47e6-bc68-cdf512a26c71"