From 97cacec418b83c089222e83c4e249dc531f206f9 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sun, 9 Dec 2018 19:39:50 +0100 Subject: [PATCH] company migration: departement, description, company infos, workflow; config workflow --- ...lus.migration.d7_taxonomy_term_company.yml | 35 ++++-- .../migrate/source/D7TaxonomyTermCompany.php | 42 +++++++- ..._display.taxonomy_term.company.default.yml | 27 +++-- ..._display.taxonomy_term.company.default.yml | 16 +-- ...axonomy_term.company.field_description.yml | 21 ---- ...nomy_term.company.field_public_address.yml | 16 +++ ...d.taxonomy_term.company.field_workflow.yml | 21 ++++ ...torage.taxonomy_term.field_description.yml | 19 ---- ...d.storage.taxonomy_term.field_workflow.yml | 22 ++++ ...igrate_plus.migration.d7_node_materiau.yml | 2 +- ...lus.migration.d7_taxonomy_term_company.yml | 34 ++++-- ...igration.d7_taxonomy_term_company_i18n.yml | 2 +- ...us.migration.d7_taxonomy_term_showroom.yml | 2 +- ...e_plus.migration.d7_taxonomy_term_tags.yml | 2 +- ...s.migration.d7_taxonomy_term_tags_i18n.yml | 2 +- ...s.migration.d7_taxonomy_term_thesaurus.yml | 2 +- ...ration.d7_taxonomy_term_thesaurus_i18n.yml | 2 +- ...igrate_plus.migration_group.d7_materio.yml | 2 +- sites/default/config/sync/user.role.admin.yml | 1 + .../config/sync/user.role.anonymous.yml | 1 + .../config/sync/user.role.authenticated.yml | 1 + sites/default/config/sync/user.role.user.yml | 1 + .../config/sync/views.view.admin_taxo.yml | 71 ++++++++++++- .../sync/workflow.state.workflow_creation.yml | 12 +++ .../sync/workflow.state.workflow_edited.yml | 12 +++ .../sync/workflow.state.workflow_hidden.yml | 12 +++ .../sync/workflow.state.workflow_imported.yml | 12 +++ .../sync/workflow.state.workflow_visible.yml | 12 +++ ...ow.transition.workflow_creation_edited.yml | 19 ++++ ...ow.transition.workflow_creation_hidden.yml | 19 ++++ ....transition.workflow_creation_imported.yml | 19 ++++ ...w.transition.workflow_creation_visible.yml | 19 ++++ ...flow.transition.workflow_edited_edited.yml | 12 +++ ...flow.transition.workflow_edited_hidden.yml | 19 ++++ ...ow.transition.workflow_edited_imported.yml | 19 ++++ ...low.transition.workflow_edited_visible.yml | 19 ++++ ...flow.transition.workflow_hidden_edited.yml | 19 ++++ ...flow.transition.workflow_hidden_hidden.yml | 12 +++ ...ow.transition.workflow_hidden_imported.yml | 19 ++++ ...low.transition.workflow_hidden_visible.yml | 19 ++++ ...ow.transition.workflow_imported_edited.yml | 19 ++++ ...ow.transition.workflow_imported_hidden.yml | 19 ++++ ....transition.workflow_imported_imported.yml | 12 +++ ...w.transition.workflow_imported_visible.yml | 19 ++++ ...low.transition.workflow_visible_edited.yml | 19 ++++ ...low.transition.workflow_visible_hidden.yml | 19 ++++ ...w.transition.workflow_visible_imported.yml | 19 ++++ ...ow.transition.workflow_visible_visible.yml | 12 +++ .../sync/workflow.workflow.workflow.yml | 14 +++ .../config/sync/workflow_access.role.yml | 100 ++++++++++++++++++ 50 files changed, 779 insertions(+), 91 deletions(-) delete mode 100644 sites/default/config/sync/field.field.taxonomy_term.company.field_description.yml create mode 100644 sites/default/config/sync/field.field.taxonomy_term.company.field_workflow.yml delete mode 100644 sites/default/config/sync/field.storage.taxonomy_term.field_description.yml create mode 100644 sites/default/config/sync/field.storage.taxonomy_term.field_workflow.yml create mode 100644 sites/default/config/sync/workflow.state.workflow_creation.yml create mode 100644 sites/default/config/sync/workflow.state.workflow_edited.yml create mode 100644 sites/default/config/sync/workflow.state.workflow_hidden.yml create mode 100644 sites/default/config/sync/workflow.state.workflow_imported.yml create mode 100644 sites/default/config/sync/workflow.state.workflow_visible.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_creation_edited.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_creation_hidden.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_creation_imported.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_creation_visible.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_edited_edited.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_edited_hidden.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_edited_imported.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_edited_visible.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_hidden_edited.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_hidden_hidden.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_hidden_imported.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_hidden_visible.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_imported_edited.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_imported_hidden.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_imported_imported.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_imported_visible.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_visible_edited.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_visible_hidden.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_visible_imported.yml create mode 100644 sites/default/config/sync/workflow.transition.workflow_visible_visible.yml create mode 100644 sites/default/config/sync/workflow.workflow.workflow.yml create mode 100644 sites/default/config/sync/workflow_access.role.yml diff --git a/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml b/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml index 665b382..251d670 100644 --- a/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml +++ b/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_taxonomy_term_company.yml @@ -80,16 +80,35 @@ process: # data field_note: field_note + field_departement: field_departement + description: + plugin: iterator + source: body + process: + value: value + format: + plugin: default_value + default_value: wysiwyg + field_infos_from_company: + plugin: iterator + source: field_infos_from_company + process: + value: value + format: + plugin: default_value + default_value: wysiwyg + field_workflow: + plugin: static_map + source: workflow + map: + 1: "workflow_creation" + 2: "workflow_hidden" + 3: "workflow_visible" + 4: "workflow_imported" + 5: "workflow_edited" # work in progress # not ready - field_departement: field_departement - field_description: body - # 'description/value': description - # 'description/format': format - field_infos_from_company: field_infos_from_company - field_attachments: field_attachments - - # workflow ?? + # field_attachments: field_attachments diff --git a/modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php b/modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php index 0d0880d..e2aa8f7 100644 --- a/modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php +++ b/modules/custom/materio_migrate/src/Plugin/migrate/source/D7TaxonomyTermCompany.php @@ -151,12 +151,19 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP // Ensure we're using the right language if the entity is translatable. $field_language = $field['translatable'] ? $language : NULL; $field_values = $this->getFieldValues('node', $field_name, $tode_nid, null, $field_language); - drush_print($field_name.': '); - print_r($field_values); + $row->setSourceProperty($field_name, $field_values); } - // make sure that feild_website url is absolute + // drush_print('body: '); + // print_r($row->getSourceProperty('body')); + $field_infos = $row->getSourceProperty('field_infos_from_company'); + if(!empty($field_infos)){ + drush_print('field_infos_from_company: '); + print_r($field_infos); + } + + // make sure that field_website url is absolute $field_website = $row->getSourceProperty('field_website'); if(isset($field_website[0]['url'])){ $url = $field_website[0]['url']; @@ -171,10 +178,35 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP if(isset($field_phone[0]['number']) && !empty($field_phone[0]['number'])){ $national_number = $field_phone[0]['number']; $region = strtoupper($field_phone[0]['country_codes']); - $number = $this->phoneUtils->parse($national_number, $region); - $row->setSourceProperty('public_phone', $this->phoneUtils->format($number, PhoneNumberFormat::E164)); + // isValidRegionCode($regionCode) + if($this->phoneUtils->isPossibleNumber($national_number, $region)){ + $number = $this->phoneUtils->parse($national_number, $region); + $row->setSourceProperty('public_phone', $this->phoneUtils->format($number, PhoneNumberFormat::E164)); + }else{ + // add bad phone number to memo field + $memo .= "invalid phone number: ".$national_number.' region: '.$region."\n"; + drush_print('WARNING: phone number invalide; number: '.$national_number.' region: '.$region); + } } + // attachment files + + // workflow + // get the workflow status + $query = $this->select('workflow_node', 'wn'); + $query->fields('wn', ['sid']); + $query->condition('wn.nid', $tode_nid); + $results = $query->execute()->fetchField(); + // drush_print('workflow query results : ', 0, null, false); + // drush_print_r($results); + $row->setSourceProperty('workflow', $results); + + // record migration errors in field_memo + if(isset($memo)){ + $field_memo = $row->getSourceProperty('field_memo'); + $field_memo[0]['value'] .= "\n".$memo; + $row->setSourceProperty('field_memo', $field_memo); + } return parent::prepareRow($row); } diff --git a/sites/default/config/sync/core.entity_form_display.taxonomy_term.company.default.yml b/sites/default/config/sync/core.entity_form_display.taxonomy_term.company.default.yml index 93719a1..6592800 100644 --- a/sites/default/config/sync/core.entity_form_display.taxonomy_term.company.default.yml +++ b/sites/default/config/sync/core.entity_form_display.taxonomy_term.company.default.yml @@ -5,7 +5,6 @@ dependencies: config: - field.field.taxonomy_term.company.field_attachments - field.field.taxonomy_term.company.field_departement - - field.field.taxonomy_term.company.field_description - field.field.taxonomy_term.company.field_infos_from_company - field.field.taxonomy_term.company.field_memo - field.field.taxonomy_term.company.field_note @@ -13,6 +12,7 @@ dependencies: - field.field.taxonomy_term.company.field_public_email - field.field.taxonomy_term.company.field_public_phone - field.field.taxonomy_term.company.field_website + - field.field.taxonomy_term.company.field_workflow - taxonomy.vocabulary.company module: - address @@ -21,6 +21,7 @@ dependencies: - link - telephone - text + - workflow third_party_settings: field_group: group_tabs: @@ -58,7 +59,6 @@ third_party_settings: group_contents: children: - description - - field_description - field_infos_from_company parent_name: group_tabs weight: 13 @@ -72,6 +72,7 @@ third_party_settings: label: Contents group_internal: children: + - field_workflow - field_note - field_memo - langcode @@ -127,14 +128,6 @@ content: third_party_settings: { } type: string_textfield region: content - field_description: - weight: 3 - settings: - rows: 5 - placeholder: '' - third_party_settings: { } - type: text_textarea - region: content field_infos_from_company: weight: 4 settings: @@ -144,7 +137,7 @@ content: type: text_textarea region: content field_memo: - weight: 6 + weight: 20 settings: rows: 5 placeholder: '' @@ -152,7 +145,7 @@ content: type: string_textarea region: content field_note: - weight: 5 + weight: 19 settings: { } third_party_settings: { } type: options_select @@ -187,9 +180,15 @@ content: third_party_settings: { } type: link_default region: content + field_workflow: + weight: 18 + settings: { } + third_party_settings: { } + type: workflow_default + region: content langcode: type: language_select - weight: 7 + weight: 21 region: content settings: include_locked: true @@ -203,7 +202,7 @@ content: placeholder: '' third_party_settings: { } translation: - weight: 8 + weight: 22 region: content settings: { } third_party_settings: { } diff --git a/sites/default/config/sync/core.entity_view_display.taxonomy_term.company.default.yml b/sites/default/config/sync/core.entity_view_display.taxonomy_term.company.default.yml index 38d2961..7f24898 100644 --- a/sites/default/config/sync/core.entity_view_display.taxonomy_term.company.default.yml +++ b/sites/default/config/sync/core.entity_view_display.taxonomy_term.company.default.yml @@ -5,7 +5,6 @@ dependencies: config: - field.field.taxonomy_term.company.field_attachments - field.field.taxonomy_term.company.field_departement - - field.field.taxonomy_term.company.field_description - field.field.taxonomy_term.company.field_infos_from_company - field.field.taxonomy_term.company.field_memo - field.field.taxonomy_term.company.field_note @@ -13,6 +12,7 @@ dependencies: - field.field.taxonomy_term.company.field_public_email - field.field.taxonomy_term.company.field_public_phone - field.field.taxonomy_term.company.field_website + - field.field.taxonomy_term.company.field_workflow - taxonomy.vocabulary.company module: - address @@ -48,13 +48,6 @@ content: third_party_settings: { } type: string region: content - field_description: - weight: 3 - label: above - settings: { } - third_party_settings: { } - type: text_default - region: content field_infos_from_company: weight: 5 label: above @@ -109,5 +102,12 @@ content: third_party_settings: { } type: link region: content + field_workflow: + weight: 11 + label: above + settings: { } + third_party_settings: { } + type: list_default + region: content hidden: langcode: true diff --git a/sites/default/config/sync/field.field.taxonomy_term.company.field_description.yml b/sites/default/config/sync/field.field.taxonomy_term.company.field_description.yml deleted file mode 100644 index 0c2e2a4..0000000 --- a/sites/default/config/sync/field.field.taxonomy_term.company.field_description.yml +++ /dev/null @@ -1,21 +0,0 @@ -uuid: 8852b11d-67bf-4215-9ab6-d3b68cc5ef34 -langcode: en -status: true -dependencies: - config: - - field.storage.taxonomy_term.field_description - - taxonomy.vocabulary.company - module: - - text -id: taxonomy_term.company.field_description -field_name: field_description -entity_type: taxonomy_term -bundle: company -label: Description -description: '' -required: false -translatable: true -default_value: { } -default_value_callback: '' -settings: { } -field_type: text_long diff --git a/sites/default/config/sync/field.field.taxonomy_term.company.field_public_address.yml b/sites/default/config/sync/field.field.taxonomy_term.company.field_public_address.yml index fee29b0..9a0d6fe 100644 --- a/sites/default/config/sync/field.field.taxonomy_term.company.field_public_address.yml +++ b/sites/default/config/sync/field.field.taxonomy_term.company.field_public_address.yml @@ -27,5 +27,21 @@ settings: override: optional familyName: override: optional + organization: + override: optional + addressLine1: + override: optional + addressLine2: + override: optional + postalCode: + override: optional + sortingCode: + override: optional + dependentLocality: + override: optional + locality: + override: optional + administrativeArea: + override: optional fields: { } field_type: address diff --git a/sites/default/config/sync/field.field.taxonomy_term.company.field_workflow.yml b/sites/default/config/sync/field.field.taxonomy_term.company.field_workflow.yml new file mode 100644 index 0000000..4466be1 --- /dev/null +++ b/sites/default/config/sync/field.field.taxonomy_term.company.field_workflow.yml @@ -0,0 +1,21 @@ +uuid: 3e4b562b-7b20-4ad7-ac22-a55949dc3d84 +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_workflow + - taxonomy.vocabulary.company + module: + - workflow +id: taxonomy_term.company.field_workflow +field_name: field_workflow +entity_type: taxonomy_term +bundle: company +label: Workflow +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: workflow diff --git a/sites/default/config/sync/field.storage.taxonomy_term.field_description.yml b/sites/default/config/sync/field.storage.taxonomy_term.field_description.yml deleted file mode 100644 index a089a77..0000000 --- a/sites/default/config/sync/field.storage.taxonomy_term.field_description.yml +++ /dev/null @@ -1,19 +0,0 @@ -uuid: c31b4e2d-b155-4a14-8851-d67481c4fd42 -langcode: en -status: true -dependencies: - module: - - taxonomy - - text -id: taxonomy_term.field_description -field_name: field_description -entity_type: taxonomy_term -type: text_long -settings: { } -module: text -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/sites/default/config/sync/field.storage.taxonomy_term.field_workflow.yml b/sites/default/config/sync/field.storage.taxonomy_term.field_workflow.yml new file mode 100644 index 0000000..6feca7b --- /dev/null +++ b/sites/default/config/sync/field.storage.taxonomy_term.field_workflow.yml @@ -0,0 +1,22 @@ +uuid: 47b0e54b-73e5-406d-92fa-115f44705c9e +langcode: en +status: true +dependencies: + module: + - taxonomy + - workflow +id: taxonomy_term.field_workflow +field_name: field_workflow +entity_type: taxonomy_term +type: workflow +settings: + workflow_type: workflow + allowed_values: { } + allowed_values_function: '' +module: workflow +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/sites/default/config/sync/migrate_plus.migration.d7_node_materiau.yml b/sites/default/config/sync/migrate_plus.migration.d7_node_materiau.yml index 6a88cb3..568a60a 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_node_materiau.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_node_materiau.yml @@ -1,4 +1,4 @@ -uuid: 0a24de28-0492-4a63-a5fd-847c5a4fe5a0 +uuid: 6faffb8e-4f67-4590-8cda-ea14a6e4050d langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml index 89f4b3f..48ffd2f 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml @@ -1,9 +1,9 @@ -uuid: 0bcce6fc-4b6e-4e40-b3a2-b164ffaec3c9 +uuid: 99300cd0-cbdd-4df5-a0aa-1728be5d44a4 langcode: en status: true dependencies: { } _core: - default_config_hash: Z1Eszg2PyEx7bcSK4ieINRiMS9CB3AtJOAZbW0U6qG8 + default_config_hash: dJ0jURnhhbRqPvAA5LK79EsL0naGK-GdN3XusNAHHJ8 id: d7_taxonomy_term_company class: null field_plugin_method: null @@ -63,11 +63,33 @@ process: organization: organisation_name given_name: first_name family_name: last_name - field_departement: field_departement - field_description: body - field_infos_from_company: field_infos_from_company field_note: field_note - field_attachments: field_attachments + field_departement: field_departement + description: + plugin: iterator + source: body + process: + value: value + format: + plugin: default_value + default_value: wysiwyg + field_infos_from_company: + plugin: iterator + source: field_infos_from_company + process: + value: value + format: + plugin: default_value + default_value: wysiwyg + field_workflow: + plugin: static_map + source: workflow + map: + 1: workflow_creation + 2: workflow_hidden + 3: workflow_visible + 4: workflow_imported + 5: workflow_edited destination: plugin: 'entity:taxonomy_term' migration_dependencies: null diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company_i18n.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company_i18n.yml index 7fb4106..e9fb8f2 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company_i18n.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_company_i18n.yml @@ -1,4 +1,4 @@ -uuid: 17165199-3121-49d1-b878-a64284025225 +uuid: 4547e456-d111-425e-96e1-7d4345794589 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml index 28984d4..0699272 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml @@ -1,4 +1,4 @@ -uuid: 05fe6f06-9cee-47ff-933d-268644842a3a +uuid: 3ab2ea08-0b2a-4dd6-b479-d037148d27f6 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml index 95c154c..14ddeb6 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml @@ -1,4 +1,4 @@ -uuid: 465171e4-51a9-4444-86a4-7b6f7507db35 +uuid: 946cc454-93bc-4ec4-bc2d-92e8b9ab6948 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml index c5c7eb9..7ba5505 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml @@ -1,4 +1,4 @@ -uuid: e214bf70-9c03-4c85-b43e-2eda414054b5 +uuid: 98dcaeb4-8d02-4d0f-a197-1821eaf276c0 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml index d0b7dce..0fe9eb9 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml @@ -1,4 +1,4 @@ -uuid: 0a8163f7-cc07-4a8b-bc84-c92c5a5bf670 +uuid: 95671cd9-c184-4724-bae1-8f0bdd2eef63 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml index ca838b6..c25d9b6 100644 --- a/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml +++ b/sites/default/config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml @@ -1,4 +1,4 @@ -uuid: 358a06c9-e520-4b68-9ba1-06ad909a2a35 +uuid: c4a0c58a-f898-4182-bea9-7056496c6d40 langcode: en status: true dependencies: { } diff --git a/sites/default/config/sync/migrate_plus.migration_group.d7_materio.yml b/sites/default/config/sync/migrate_plus.migration_group.d7_materio.yml index 13b6a58..9868dd8 100644 --- a/sites/default/config/sync/migrate_plus.migration_group.d7_materio.yml +++ b/sites/default/config/sync/migrate_plus.migration_group.d7_materio.yml @@ -1,4 +1,4 @@ -uuid: efeba33e-d8cf-4133-9d78-9977d3ff451f +uuid: ff2a0c76-18d5-4b8e-80a7-b253ccbe85c6 langcode: en status: true dependencies: diff --git a/sites/default/config/sync/user.role.admin.yml b/sites/default/config/sync/user.role.admin.yml index 9983fc6..3b706ff 100644 --- a/sites/default/config/sync/user.role.admin.yml +++ b/sites/default/config/sync/user.role.admin.yml @@ -31,6 +31,7 @@ permissions: - 'create terms in genres' - 'create terms in langues' - 'create terms in locuteurs' + - 'create workflow workflow_transition' - 'delete any autre_son content' - 'delete any enregistrement content' - 'delete any evenement content' diff --git a/sites/default/config/sync/user.role.anonymous.yml b/sites/default/config/sync/user.role.anonymous.yml index c8f4a89..96c986a 100644 --- a/sites/default/config/sync/user.role.anonymous.yml +++ b/sites/default/config/sync/user.role.anonymous.yml @@ -17,6 +17,7 @@ permissions: - 'create defalut workflow_transition' - 'create default workflow_transition' - 'create generique workflow_transition' + - 'create workflow workflow_transition' - 'use text format wysiwyg' - 'view published fil entities' - 'view search api pages' diff --git a/sites/default/config/sync/user.role.authenticated.yml b/sites/default/config/sync/user.role.authenticated.yml index 8eee302..3526526 100644 --- a/sites/default/config/sync/user.role.authenticated.yml +++ b/sites/default/config/sync/user.role.authenticated.yml @@ -19,6 +19,7 @@ permissions: - 'create defalut workflow_transition' - 'create default workflow_transition' - 'create generique workflow_transition' + - 'create workflow workflow_transition' - 'delete own composition entities' - 'delete own fil entities' - 'edit own chutier entities' diff --git a/sites/default/config/sync/user.role.user.yml b/sites/default/config/sync/user.role.user.yml index b1260ab..f8067d4 100644 --- a/sites/default/config/sync/user.role.user.yml +++ b/sites/default/config/sync/user.role.user.yml @@ -11,3 +11,4 @@ is_admin: null permissions: - 'create defalut workflow_transition' - 'create default workflow_transition' + - 'create workflow workflow_transition' diff --git a/sites/default/config/sync/views.view.admin_taxo.yml b/sites/default/config/sync/views.view.admin_taxo.yml index 2fbd0d0..24d4126 100644 --- a/sites/default/config/sync/views.view.admin_taxo.yml +++ b/sites/default/config/sync/views.view.admin_taxo.yml @@ -2,9 +2,12 @@ uuid: 15a82018-870e-48cd-a0a6-03b18ed5e3f9 langcode: en status: true dependencies: + config: + - field.storage.taxonomy_term.field_workflow module: - content_lock - content_translation + - options - taxonomy - translation_views - user @@ -636,6 +639,68 @@ display: native_language: false entity_type: taxonomy_term plugin_id: translation_views_target_language + field_workflow: + id: field_workflow + table: taxonomy_term__field_workflow + field: field_workflow + relationship: none + group_type: group + admin_label: '' + label: Workflow + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: list_default + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field filters: status: value: '1' @@ -807,7 +872,8 @@ display: - url - url.query_args - user.permissions - tags: { } + tags: + - 'config:field.storage.taxonomy_term.field_workflow' page_1: display_plugin: page id: page_1 @@ -824,4 +890,5 @@ display: - url - url.query_args - user.permissions - tags: { } + tags: + - 'config:field.storage.taxonomy_term.field_workflow' diff --git a/sites/default/config/sync/workflow.state.workflow_creation.yml b/sites/default/config/sync/workflow.state.workflow_creation.yml new file mode 100644 index 0000000..48a2109 --- /dev/null +++ b/sites/default/config/sync/workflow.state.workflow_creation.yml @@ -0,0 +1,12 @@ +uuid: 0b88bf90-ccb0-4c96-970e-fd9c58764648 +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_creation +label: Creation +module: workflow +wid: workflow +weight: -11 +sysid: 1 diff --git a/sites/default/config/sync/workflow.state.workflow_edited.yml b/sites/default/config/sync/workflow.state.workflow_edited.yml new file mode 100644 index 0000000..b65d969 --- /dev/null +++ b/sites/default/config/sync/workflow.state.workflow_edited.yml @@ -0,0 +1,12 @@ +uuid: 1e6ee69f-d379-46d6-8908-4e2f816f3881 +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_edited +label: Edited +module: workflow +wid: workflow +weight: -8 +sysid: 0 diff --git a/sites/default/config/sync/workflow.state.workflow_hidden.yml b/sites/default/config/sync/workflow.state.workflow_hidden.yml new file mode 100644 index 0000000..46319e3 --- /dev/null +++ b/sites/default/config/sync/workflow.state.workflow_hidden.yml @@ -0,0 +1,12 @@ +uuid: 1df3cd48-3df8-407f-a83c-ad47ababe131 +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_hidden +label: Hidden +module: workflow +wid: workflow +weight: -7 +sysid: 0 diff --git a/sites/default/config/sync/workflow.state.workflow_imported.yml b/sites/default/config/sync/workflow.state.workflow_imported.yml new file mode 100644 index 0000000..1d32d06 --- /dev/null +++ b/sites/default/config/sync/workflow.state.workflow_imported.yml @@ -0,0 +1,12 @@ +uuid: 58f2a5b8-28bf-42e9-a887-871a42c557c9 +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_imported +label: Imported +module: workflow +wid: workflow +weight: -9 +sysid: 0 diff --git a/sites/default/config/sync/workflow.state.workflow_visible.yml b/sites/default/config/sync/workflow.state.workflow_visible.yml new file mode 100644 index 0000000..403abe6 --- /dev/null +++ b/sites/default/config/sync/workflow.state.workflow_visible.yml @@ -0,0 +1,12 @@ +uuid: e5ac6da2-f70b-458e-b94e-3fba298ca08f +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_visible +label: Visible +module: workflow +wid: workflow +weight: -6 +sysid: 0 diff --git a/sites/default/config/sync/workflow.transition.workflow_creation_edited.yml b/sites/default/config/sync/workflow.transition.workflow_creation_edited.yml new file mode 100644 index 0000000..40b74e0 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_creation_edited.yml @@ -0,0 +1,19 @@ +uuid: c43cc500-54ec-40cc-bcfa-4ecaf450c5be +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_creation + - workflow.state.workflow_edited +id: workflow_creation_edited +label: null +module: workflow +from_sid: workflow_creation +to_sid: workflow_edited +roles: + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + root: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_creation_hidden.yml b/sites/default/config/sync/workflow.transition.workflow_creation_hidden.yml new file mode 100644 index 0000000..1c1e50f --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_creation_hidden.yml @@ -0,0 +1,19 @@ +uuid: fe827db9-3ca6-4c51-b2d6-08df081799d1 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_creation + - workflow.state.workflow_hidden +id: workflow_creation_hidden +label: null +module: workflow +from_sid: workflow_creation +to_sid: workflow_hidden +roles: + workflow_author: workflow_author + admin: admin + root: root + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_creation_imported.yml b/sites/default/config/sync/workflow.transition.workflow_creation_imported.yml new file mode 100644 index 0000000..054ffd6 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_creation_imported.yml @@ -0,0 +1,19 @@ +uuid: 0c811fe0-a27b-4922-8765-edf2911f13b6 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_creation + - workflow.state.workflow_imported +id: workflow_creation_imported +label: null +module: workflow +from_sid: workflow_creation +to_sid: workflow_imported +roles: + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + root: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_creation_visible.yml b/sites/default/config/sync/workflow.transition.workflow_creation_visible.yml new file mode 100644 index 0000000..a884b4b --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_creation_visible.yml @@ -0,0 +1,19 @@ +uuid: ef5e8690-08c0-4a6d-8599-599c8e56f7cb +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_creation + - workflow.state.workflow_visible +id: workflow_creation_visible +label: null +module: workflow +from_sid: workflow_creation +to_sid: workflow_visible +roles: + workflow_author: workflow_author + admin: admin + root: root + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_edited_edited.yml b/sites/default/config/sync/workflow.transition.workflow_edited_edited.yml new file mode 100644 index 0000000..17406f2 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_edited_edited.yml @@ -0,0 +1,12 @@ +uuid: f415cd6d-03c7-41f2-aa45-c2149f7b13e2 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited +id: workflow_edited_edited +label: null +module: workflow +from_sid: workflow_edited +to_sid: workflow_edited +roles: { } diff --git a/sites/default/config/sync/workflow.transition.workflow_edited_hidden.yml b/sites/default/config/sync/workflow.transition.workflow_edited_hidden.yml new file mode 100644 index 0000000..5f9abbb --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_edited_hidden.yml @@ -0,0 +1,19 @@ +uuid: 1257f61b-c403-4a9e-b0c0-00da76a53100 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_hidden +id: workflow_edited_hidden +label: null +module: workflow +from_sid: workflow_edited +to_sid: workflow_hidden +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_edited_imported.yml b/sites/default/config/sync/workflow.transition.workflow_edited_imported.yml new file mode 100644 index 0000000..5cbd068 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_edited_imported.yml @@ -0,0 +1,19 @@ +uuid: 04ba4076-34f7-47ee-b9f4-bacdaf530ebc +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_imported +id: workflow_edited_imported +label: null +module: workflow +from_sid: workflow_edited +to_sid: workflow_imported +roles: + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_edited_visible.yml b/sites/default/config/sync/workflow.transition.workflow_edited_visible.yml new file mode 100644 index 0000000..5109b52 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_edited_visible.yml @@ -0,0 +1,19 @@ +uuid: 8d00f97e-cc2e-4c18-a691-91610d3a966f +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_visible +id: workflow_edited_visible +label: null +module: workflow +from_sid: workflow_edited +to_sid: workflow_visible +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_hidden_edited.yml b/sites/default/config/sync/workflow.transition.workflow_hidden_edited.yml new file mode 100644 index 0000000..01b1801 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_hidden_edited.yml @@ -0,0 +1,19 @@ +uuid: 076ae4ce-5796-4f80-a056-e69e078c01cb +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_hidden +id: workflow_hidden_edited +label: null +module: workflow +from_sid: workflow_hidden +to_sid: workflow_edited +roles: + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + root: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_hidden_hidden.yml b/sites/default/config/sync/workflow.transition.workflow_hidden_hidden.yml new file mode 100644 index 0000000..a8b7141 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_hidden_hidden.yml @@ -0,0 +1,12 @@ +uuid: 8f322013-33fc-4354-8790-b2517be4d41e +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_hidden +id: workflow_hidden_hidden +label: null +module: workflow +from_sid: workflow_hidden +to_sid: workflow_hidden +roles: { } diff --git a/sites/default/config/sync/workflow.transition.workflow_hidden_imported.yml b/sites/default/config/sync/workflow.transition.workflow_hidden_imported.yml new file mode 100644 index 0000000..b975e69 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_hidden_imported.yml @@ -0,0 +1,19 @@ +uuid: b3f269c4-9f0d-4429-967c-3068beb74c87 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_hidden + - workflow.state.workflow_imported +id: workflow_hidden_imported +label: null +module: workflow +from_sid: workflow_hidden +to_sid: workflow_imported +roles: + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_hidden_visible.yml b/sites/default/config/sync/workflow.transition.workflow_hidden_visible.yml new file mode 100644 index 0000000..85e9bb9 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_hidden_visible.yml @@ -0,0 +1,19 @@ +uuid: c643211a-0c34-4a9b-a725-b3e83faa2a0e +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_hidden + - workflow.state.workflow_visible +id: workflow_hidden_visible +label: null +module: workflow +from_sid: workflow_hidden +to_sid: workflow_visible +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_imported_edited.yml b/sites/default/config/sync/workflow.transition.workflow_imported_edited.yml new file mode 100644 index 0000000..5f33b2a --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_imported_edited.yml @@ -0,0 +1,19 @@ +uuid: 12d8091b-5a56-4d06-996c-81b5c018079c +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_imported +id: workflow_imported_edited +label: null +module: workflow +from_sid: workflow_imported +to_sid: workflow_edited +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_imported_hidden.yml b/sites/default/config/sync/workflow.transition.workflow_imported_hidden.yml new file mode 100644 index 0000000..411ea5e --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_imported_hidden.yml @@ -0,0 +1,19 @@ +uuid: 2f1227d3-97ee-4dc4-b076-98960495dbbb +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_hidden + - workflow.state.workflow_imported +id: workflow_imported_hidden +label: null +module: workflow +from_sid: workflow_imported +to_sid: workflow_hidden +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_imported_imported.yml b/sites/default/config/sync/workflow.transition.workflow_imported_imported.yml new file mode 100644 index 0000000..e0b8cb3 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_imported_imported.yml @@ -0,0 +1,12 @@ +uuid: 97ba119a-57bc-47f8-b287-c431569d73de +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_imported +id: workflow_imported_imported +label: null +module: workflow +from_sid: workflow_imported +to_sid: workflow_imported +roles: { } diff --git a/sites/default/config/sync/workflow.transition.workflow_imported_visible.yml b/sites/default/config/sync/workflow.transition.workflow_imported_visible.yml new file mode 100644 index 0000000..ed9a59e --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_imported_visible.yml @@ -0,0 +1,19 @@ +uuid: e07dafa9-a539-47fd-a519-de4b563b10d8 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_imported + - workflow.state.workflow_visible +id: workflow_imported_visible +label: null +module: workflow +from_sid: workflow_imported +to_sid: workflow_visible +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_visible_edited.yml b/sites/default/config/sync/workflow.transition.workflow_visible_edited.yml new file mode 100644 index 0000000..9030b4f --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_visible_edited.yml @@ -0,0 +1,19 @@ +uuid: 996a7e97-69f8-400d-9487-2eb602743706 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_edited + - workflow.state.workflow_visible +id: workflow_visible_edited +label: null +module: workflow +from_sid: workflow_visible +to_sid: workflow_edited +roles: + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + root: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_visible_hidden.yml b/sites/default/config/sync/workflow.transition.workflow_visible_hidden.yml new file mode 100644 index 0000000..b564f35 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_visible_hidden.yml @@ -0,0 +1,19 @@ +uuid: 12203f8d-9648-4b19-8276-85f8796b2718 +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_hidden + - workflow.state.workflow_visible +id: workflow_visible_hidden +label: null +module: workflow +from_sid: workflow_visible +to_sid: workflow_hidden +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_visible_imported.yml b/sites/default/config/sync/workflow.transition.workflow_visible_imported.yml new file mode 100644 index 0000000..40ff021 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_visible_imported.yml @@ -0,0 +1,19 @@ +uuid: c6c8abdd-23c3-40b9-8188-0e63500c127d +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_imported + - workflow.state.workflow_visible +id: workflow_visible_imported +label: null +module: workflow +from_sid: workflow_visible +to_sid: workflow_imported +roles: + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + admin: '0' + user: '0' diff --git a/sites/default/config/sync/workflow.transition.workflow_visible_visible.yml b/sites/default/config/sync/workflow.transition.workflow_visible_visible.yml new file mode 100644 index 0000000..6a109f0 --- /dev/null +++ b/sites/default/config/sync/workflow.transition.workflow_visible_visible.yml @@ -0,0 +1,12 @@ +uuid: 6cdc7484-3595-467b-a4e1-ee45395a840d +langcode: en +status: true +dependencies: + config: + - workflow.state.workflow_visible +id: workflow_visible_visible +label: null +module: workflow +from_sid: workflow_visible +to_sid: workflow_visible +roles: { } diff --git a/sites/default/config/sync/workflow.workflow.workflow.yml b/sites/default/config/sync/workflow.workflow.workflow.yml new file mode 100644 index 0000000..5ad14c9 --- /dev/null +++ b/sites/default/config/sync/workflow.workflow.workflow.yml @@ -0,0 +1,14 @@ +uuid: 3c639e0f-8f2f-4768-ba22-29df3d56843c +langcode: en +status: true +dependencies: { } +id: workflow +label: Workflow +module: workflow +options: + name_as_title: 1 + fieldset: 1 + options: radios + schedule_timezone: 1 + comment_log_node: 1 + watchdog_log: 0 diff --git a/sites/default/config/sync/workflow_access.role.yml b/sites/default/config/sync/workflow_access.role.yml new file mode 100644 index 0000000..cbf2514 --- /dev/null +++ b/sites/default/config/sync/workflow_access.role.yml @@ -0,0 +1,100 @@ +workflow_edited: + admin: + grant_view: true + grant_update: true + grant_delete: 0 + root: + grant_view: true + grant_update: true + grant_delete: true + workflow_author: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + anonymous: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + authenticated: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + user: + grant_view: 0 + grant_update: 0 + grant_delete: 0 +workflow_hidden: + admin: + grant_view: true + grant_update: true + grant_delete: 0 + root: + grant_view: true + grant_update: true + grant_delete: true + workflow_author: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + anonymous: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + authenticated: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + user: + grant_view: 0 + grant_update: 0 + grant_delete: 0 +workflow_visible: + admin: + grant_view: 0 + grant_update: true + grant_delete: 0 + root: + grant_view: 0 + grant_update: true + grant_delete: true + workflow_author: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + anonymous: + grant_view: true + grant_update: 0 + grant_delete: 0 + authenticated: + grant_view: true + grant_update: 0 + grant_delete: 0 + user: + grant_view: 0 + grant_update: 0 + grant_delete: 0 +workflow_imported: + admin: + grant_view: true + grant_update: true + grant_delete: 0 + root: + grant_view: true + grant_update: true + grant_delete: true + workflow_author: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + anonymous: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + authenticated: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + user: + grant_view: 0 + grant_update: 0 + grant_delete: 0