diff --git a/targets/hasura/metadata/databases/default/tables/contribution_answers.yaml b/targets/hasura/metadata/databases/default/tables/contribution_answers.yaml index 57fe8c31c..9f1d6cee8 100644 --- a/targets/hasura/metadata/databases/default/tables/contribution_answers.yaml +++ b/targets/hasura/metadata/databases/default/tables/contribution_answers.yaml @@ -72,6 +72,23 @@ array_relationships: remote_table: name: answer_statuses schema: contribution +insert_permissions: + - role: super + permission: + check: {} + columns: + - agreement_id + - description + - display_date + - cdtn_id + - content + - content_service_public_cdtn_id + - content_type + - message_block_generic_no_CDT + - updated_at + - id + - question_id + comment: "" select_permissions: - role: super permission: @@ -82,6 +99,7 @@ select_permissions: - content_service_public_cdtn_id - content_type - description + - display_date - id - message_block_generic_no_CDT - question_id @@ -92,13 +110,23 @@ update_permissions: - role: super permission: columns: + - agreement_id + - description + - display_date - cdtn_id - content - content_service_public_cdtn_id - content_type - - description - message_block_generic_no_CDT + - updated_at + - id + - question_id filter: {} - check: null + check: {} set: updated_at: now() +delete_permissions: + - role: super + permission: + filter: {} + comment: "" diff --git a/targets/hasura/metadata/databases/default/tables/information_informations.yaml b/targets/hasura/metadata/databases/default/tables/information_informations.yaml index ff5c606c1..7a07860c9 100644 --- a/targets/hasura/metadata/databases/default/tables/information_informations.yaml +++ b/targets/hasura/metadata/databases/default/tables/information_informations.yaml @@ -5,6 +5,8 @@ configuration: column_config: dismissal_process: custom_name: dismissalProcess + display_date: + custom_name: displayDate meta_description: custom_name: metaDescription meta_title: @@ -17,6 +19,7 @@ configuration: custom_name: updatedAt custom_column_names: dismissal_process: dismissalProcess + display_date: displayDate meta_description: metaDescription meta_title: metaTitle reference_label: referenceLabel @@ -45,6 +48,7 @@ insert_permissions: columns: - description - dismissal_process + - display_date - id - intro - meta_description @@ -59,6 +63,7 @@ insert_permissions: columns: - description - dismissal_process + - display_date - id - intro - meta_description @@ -73,6 +78,7 @@ select_permissions: columns: - description - dismissal_process + - display_date - id - intro - meta_description @@ -88,6 +94,7 @@ select_permissions: columns: - description - dismissal_process + - display_date - id - intro - meta_description @@ -104,6 +111,7 @@ update_permissions: columns: - description - dismissal_process + - display_date - id - intro - meta_description diff --git a/targets/hasura/metadata/databases/default/tables/model_models.yaml b/targets/hasura/metadata/databases/default/tables/model_models.yaml index 688b14683..600572230 100644 --- a/targets/hasura/metadata/databases/default/tables/model_models.yaml +++ b/targets/hasura/metadata/databases/default/tables/model_models.yaml @@ -5,6 +5,8 @@ configuration: column_config: created_at: custom_name: createdAt + display_date: + custom_name: displayDate file_id: custom_name: fileId meta_description: @@ -17,6 +19,7 @@ configuration: custom_name: updatedAt custom_column_names: created_at: createdAt + display_date: displayDate file_id: fileId meta_description: metaDescription meta_title: metaTitle @@ -47,44 +50,47 @@ insert_permissions: permission: check: {} columns: - - id - created_at - - updated_at - - title + - display_date + - file_id + - id - intro - - meta_title - meta_description - - type + - meta_title - preview_html - - file_id + - title + - type + - updated_at select_permissions: - role: super permission: columns: + - created_at + - display_date + - file_id + - id - intro - meta_description - meta_title - preview_html - title - type - - created_at - updated_at - - file_id - - id filter: {} update_permissions: - role: super permission: columns: - created_at - - intro + - display_date - file_id + - intro - meta_description - meta_title - preview_html - title - type filter: {} - check: null + check: {} set: updated_at: now()