workflow done

This commit is contained in:
Bachir Soussi Chiadmi 2023-04-27 11:02:57 +02:00
parent e79b609294
commit 6350038497
41 changed files with 771 additions and 133 deletions

View File

@ -40,6 +40,7 @@
"drupal/terms_of_use": "^2.3", "drupal/terms_of_use": "^2.3",
"drupal/typed_data": "1.x-dev@dev", "drupal/typed_data": "1.x-dev@dev",
"drupal/views_ef_fieldset": "^1.5", "drupal/views_ef_fieldset": "^1.5",
"drupal/workflow": "^1.7",
"wikimedia/composer-merge-plugin": "^2.0" "wikimedia/composer-merge-plugin": "^2.0"
}, },
"conflict": { "conflict": {

78
src/composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "258a1ceac9ef41f3e8a781aad24ec6e3", "content-hash": "f3baae79e847c753ab9ac766f4338529",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -8986,6 +8986,82 @@
"source": "https://git.drupalcode.org/project/views_ef_fieldset" "source": "https://git.drupalcode.org/project/views_ef_fieldset"
} }
}, },
{
"name": "drupal/workflow",
"version": "1.7.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/workflow.git",
"reference": "8.x-1.7"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/workflow-8.x-1.7.zip",
"reference": "8.x-1.7",
"shasum": "f20b6f0273cd98ae3f6b25ea25b6159fa6345e89"
},
"require": {
"drupal/core": "^8.8 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.7",
"datestamp": "1680019726",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Bastlynn",
"homepage": "https://www.drupal.org/user/275249"
},
{
"name": "eaton",
"homepage": "https://www.drupal.org/user/16496"
},
{
"name": "Heine",
"homepage": "https://www.drupal.org/user/17943"
},
{
"name": "JacobSingh",
"homepage": "https://www.drupal.org/user/68912"
},
{
"name": "johnv",
"homepage": "https://www.drupal.org/user/591042"
},
{
"name": "jvandyk",
"homepage": "https://www.drupal.org/user/2375"
},
{
"name": "mfredrickson",
"homepage": "https://www.drupal.org/user/31994"
},
{
"name": "NancyDru",
"homepage": "https://www.drupal.org/user/101412"
},
{
"name": "q0rban",
"homepage": "https://www.drupal.org/user/31022"
}
],
"description": "Defines a field type with Workflows, containing customizable state transitions.",
"homepage": "https://www.drupal.org/project/workflow",
"support": {
"source": "https://git.drupalcode.org/project/workflow"
}
},
{ {
"name": "drush/drush", "name": "drush/drush",
"version": "10.6.2", "version": "10.6.2",

View File

@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.concernement.field_caillou - field.field.node.concernement.field_caillou
- field.field.node.concernement.field_confidentialite
- field.field.node.concernement.field_description - field.field.node.concernement.field_description
- field.field.node.concernement.field_entite - field.field.node.concernement.field_entite
- field.field.node.concernement.field_lieu - field.field.node.concernement.field_lieu
@ -15,6 +16,7 @@ dependencies:
- file - file
- maxlength - maxlength
- paragraphs - paragraphs
- workflow
third_party_settings: third_party_settings:
field_group: field_group:
group_tabs: group_tabs:
@ -23,9 +25,7 @@ third_party_settings:
- group_entites - group_entites
- group_recit - group_recit
- group_ateliers - group_ateliers
- status - group_confidentialite
- uid
- created
label: Tabs label: Tabs
region: content region: content
parent_name: '' parent_name: ''
@ -99,6 +99,21 @@ third_party_settings:
formatter: closed formatter: closed
description: '' description: ''
required_fields: true required_fields: true
group_confidentialite:
children:
- field_confidentialite
label: Confidentialité
region: content
parent_name: group_tabs
weight: 16
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.concernement.default id: node.concernement.default
targetEntityType: node targetEntityType: node
bundle: concernement bundle: concernement
@ -106,7 +121,7 @@ mode: default
content: content:
created: created:
type: datetime_timestamp type: datetime_timestamp
weight: 18 weight: 3
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@ -118,6 +133,12 @@ content:
rows: 5 rows: 5
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_confidentialite:
type: workflow_default
weight: 20
region: content
settings: { }
third_party_settings: { }
field_description: field_description:
type: string_textarea type: string_textarea
weight: 1 weight: 1
@ -157,7 +178,7 @@ content:
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 16 weight: 1
region: content region: content
settings: settings:
display_label: true display_label: true
@ -177,7 +198,7 @@ content:
show_token_tree: 0 show_token_tree: 0
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 17 weight: 2
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS

View File

@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.entite.field_action - field.field.node.entite.field_action
- field.field.node.entite.field_confidentialite
- field.field.node.entite.field_entite_agissante - field.field.node.entite.field_entite_agissante
- field.field.node.entite.field_menace_maintien - field.field.node.entite.field_menace_maintien
- field.field.node.entite.field_proximite - field.field.node.entite.field_proximite
@ -15,6 +16,7 @@ dependencies:
- field_group - field_group
- maxlength - maxlength
- paragraphs - paragraphs
- workflow
third_party_settings: third_party_settings:
field_group: field_group:
group_details: group_details:
@ -40,6 +42,7 @@ third_party_settings:
- group_contenu - group_contenu
- group_superpositions - group_superpositions
- group_proximites - group_proximites
- group_con
label: Tabs label: Tabs
region: content region: content
parent_name: '' parent_name: ''
@ -100,6 +103,21 @@ third_party_settings:
formatter: closed formatter: closed
description: '' description: ''
required_fields: true required_fields: true
group_con:
children:
- field_confidentialite
label: Confidentialité
region: content
parent_name: group_tabs
weight: 16
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.entite.default id: node.entite.default
targetEntityType: node targetEntityType: node
bundle: entite bundle: entite
@ -125,6 +143,12 @@ content:
maxlength_js_enforce: false maxlength_js_enforce: false
advanced_text_formatter: advanced_text_formatter:
show_token_tree: 0 show_token_tree: 0
field_confidentialite:
type: workflow_default
weight: 32
region: content
settings: { }
third_party_settings: { }
field_entite_agissante: field_entite_agissante:
type: boolean_checkbox type: boolean_checkbox
weight: 1 weight: 1

View File

@ -0,0 +1,13 @@
uuid: 6a886e53-6d3a-459f-9a63-960832b9ba1c
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.confidentialite
id: workflow_transition.confidentialite.default
targetEntityType: workflow_transition
bundle: confidentialite
mode: default
content: { }
hidden:
langcode: true

View File

@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.concernement.field_caillou - field.field.node.concernement.field_caillou
- field.field.node.concernement.field_confidentialite
- field.field.node.concernement.field_description - field.field.node.concernement.field_description
- field.field.node.concernement.field_entite - field.field.node.concernement.field_entite
- field.field.node.concernement.field_lieu - field.field.node.concernement.field_lieu
@ -12,6 +13,7 @@ dependencies:
module: module:
- entity_reference_revisions - entity_reference_revisions
- file - file
- options
- user - user
id: node.concernement.default id: node.concernement.default
targetEntityType: node targetEntityType: node
@ -25,6 +27,13 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 105 weight: 105
region: content region: content
field_confidentialite:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 108
region: content
field_description: field_description:
type: basic_string type: basic_string
label: above label: above

View File

@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.teaser - core.entity_view_mode.node.teaser
- field.field.node.concernement.field_caillou - field.field.node.concernement.field_caillou
- field.field.node.concernement.field_confidentialite
- field.field.node.concernement.field_description - field.field.node.concernement.field_description
- field.field.node.concernement.field_entite - field.field.node.concernement.field_entite
- field.field.node.concernement.field_lieu - field.field.node.concernement.field_lieu
@ -24,6 +25,7 @@ content:
region: content region: content
hidden: hidden:
field_caillou: true field_caillou: true
field_confidentialite: true
field_description: true field_description: true
field_entite: true field_entite: true
field_lieu: true field_lieu: true

View File

@ -4,6 +4,7 @@ status: true
dependencies: dependencies:
config: config:
- field.field.node.entite.field_action - field.field.node.entite.field_action
- field.field.node.entite.field_confidentialite
- field.field.node.entite.field_entite_agissante - field.field.node.entite.field_entite_agissante
- field.field.node.entite.field_menace_maintien - field.field.node.entite.field_menace_maintien
- field.field.node.entite.field_proximite - field.field.node.entite.field_proximite
@ -12,6 +13,7 @@ dependencies:
- node.type.entite - node.type.entite
module: module:
- entity_reference_revisions - entity_reference_revisions
- options
- user - user
id: node.entite.default id: node.entite.default
targetEntityType: node targetEntityType: node
@ -25,6 +27,13 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 101 weight: 101
region: content region: content
field_confidentialite:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 107
region: content
field_entite_agissante: field_entite_agissante:
type: boolean type: boolean
label: above label: above

View File

@ -5,6 +5,7 @@ dependencies:
config: config:
- core.entity_view_mode.node.teaser - core.entity_view_mode.node.teaser
- field.field.node.entite.field_action - field.field.node.entite.field_action
- field.field.node.entite.field_confidentialite
- field.field.node.entite.field_entite_agissante - field.field.node.entite.field_entite_agissante
- field.field.node.entite.field_menace_maintien - field.field.node.entite.field_menace_maintien
- field.field.node.entite.field_proximite - field.field.node.entite.field_proximite
@ -25,6 +26,7 @@ content:
region: content region: content
hidden: hidden:
field_action: true field_action: true
field_confidentialite: true
field_entite_agissante: true field_entite_agissante: true
field_menace_maintien: true field_menace_maintien: true
field_proximite: true field_proximite: true

View File

@ -131,6 +131,9 @@ module:
views_bulk_operations: 0 views_bulk_operations: 0
views_ef_fieldset: 0 views_ef_fieldset: 0
views_ui: 0 views_ui: 0
workflow: 0
workflow_access: 0
workflow_ui: 0
extlink: 1 extlink: 1
filefield_sources: 1 filefield_sources: 1
menu_admin_per_menu: 1 menu_admin_per_menu: 1

View File

@ -0,0 +1,22 @@
uuid: e209c60c-6f97-44dc-b94a-ad5abcc6e51d
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_confidentialite
- node.type.concernement
module:
- workflow
id: node.concernement.field_confidentialite
field_name: field_confidentialite
entity_type: node
bundle: concernement
label: Confidentialité
description: "<b>Privé:</b> seul⋅e l'auteur⋅ice du contenu peut éditer et voir ce contenu<br/>\r\n<b>Interne:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, les utilisateur⋅ice⋅s enregistré⋅e⋅s du site peuvent voir<br/>\r\n<b>Public:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, tout le monde peut voir<br/>"
required: true
translatable: false
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -0,0 +1,22 @@
uuid: 6d797246-2a70-4a37-8990-5816e5976cc2
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_confidentialite
- node.type.entite
module:
- workflow
id: node.entite.field_confidentialite
field_name: field_confidentialite
entity_type: node
bundle: entite
label: Confidentialité
description: "<b>Privé:</b> seul⋅e l'auteur⋅ice du contenu peut éditer et voir ce contenu<br/>\r\n<b>Interne:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, les utilisateur⋅ice⋅s enregistré⋅e⋅s du site peuvent voir<br/>\r\n<b>Public:</b> seul⋅e l'auteur⋅ice du contenu peut éditer, tout le monde peut voir<br/>"
required: true
translatable: true
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -9,7 +9,7 @@ id: node.entite.field_entite_agissante
field_name: field_entite_agissante field_name: field_entite_agissante
entity_type: node entity_type: node
bundle: entite bundle: entite
label: 'Entite agissante' label: 'Entite action'
description: '' description: ''
required: false required: false
translatable: false translatable: false

View File

@ -0,0 +1,22 @@
uuid: 2e0f2c83-243c-47d2-9117-4a2b1734c295
langcode: fr
status: true
dependencies:
module:
- node
- workflow
id: node.field_confidentialite
field_name: field_confidentialite
entity_type: node
type: workflow
settings:
workflow_type: confidentialite
allowed_values: { }
allowed_values_function: ''
module: workflow
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -22,6 +22,7 @@ dependencies:
- system - system
- taxonomy - taxonomy
- toolbar - toolbar
- workflow
_core: _core:
default_config_hash: oPv8PkAuHYeKKe1c48A3-O9VsF3Nl1XBsMKrgqxo8vs default_config_hash: oPv8PkAuHYeKKe1c48A3-O9VsF3Nl1XBsMKrgqxo8vs
id: admin id: admin
@ -29,127 +30,128 @@ label: Admin
weight: -7 weight: -7
is_admin: null is_admin: null
permissions: permissions:
- 'access administration pages' 0: 'access administration pages'
- 'access any corpus_documents workflow_transion overview' 1: 'access any corpus_documents workflow_transion overview'
- 'access any generique workflow_transion overview' 2: 'access any generique workflow_transion overview'
- 'access files overview' 3: 'access files overview'
- 'access kint' 4: 'access kint'
- 'access toolbar' 5: 'access toolbar'
- 'access user profiles' 6: 'access user profiles'
- 'access users overview' 7: 'access users overview'
- 'administer productions menu items' 8: 'administer productions menu items'
- 'administer registration codes' 9: 'administer registration codes'
- 'assign group_admin role' 10: 'assign group_admin role'
- 'assign group_member role' 11: 'assign group_member role'
- 'cancel users with role group_admin' 12: 'cancel users with role group_admin'
- 'cancel users with role group_member' 13: 'cancel users with role group_member'
- 'change own username' 14: 'change own username'
- 'create bourgeon group' 15: 'create bourgeon group'
- 'create concernement content' 16: 'create concernement content'
- 'create content translations' 17: 'create content translations'
- 'create corpus_documents workflow_transition' 18: 'create corpus_documents workflow_transition'
- 'create defalut workflow_transition' 19: 'create defalut workflow_transition'
- 'create default workflow_transition' 20: 'create default workflow_transition'
- 'create enregistrement content' 21: 'create enregistrement content'
- 'create entite content' 22: 'create entite content'
- 'create evenement content' 23: 'create evenement content'
- 'create generique workflow_transition' 24: 'create generique workflow_transition'
- 'create page content' 25: 'create page content'
- 'create static content' 26: 'create static content'
- 'create terms in collectionneurs' 27: 'create terms in collectionneurs'
- 'create terms in entrees' 28: 'create terms in entrees'
- 'create terms in genres' 29: 'create terms in genres'
- 'create terms in langues' 30: 'create terms in langues'
- 'create terms in locuteurs' 31: 'create terms in locuteurs'
- 'create users' 32: 'create users'
- 'delete any autre_son content' 33: 'delete any autre_son content'
- 'delete any enregistrement content' 34: 'delete any enregistrement content'
- 'delete any evenement content' 35: 'delete any evenement content'
- 'delete any fil content' 36: 'delete any fil content'
- 'delete any page content' 37: 'delete any page content'
- 'delete concernement revisions' 38: 'delete concernement revisions'
- 'delete entite revisions' 39: 'delete entite revisions'
- 'delete own concernement content' 40: 'delete own concernement content'
- 'delete own entite content' 41: 'delete own entite content'
- 'delete own static content' 42: 'delete own static content'
- 'delete static revisions' 43: 'delete static revisions'
- 'delete terms in collectionneurs' 44: 'delete terms in collectionneurs'
- 'delete terms in entrees' 45: 'delete terms in entrees'
- 'delete terms in genres' 46: 'delete terms in genres'
- 'delete terms in langues' 47: 'delete terms in langues'
- 'delete terms in locuteurs' 48: 'delete terms in locuteurs'
- 'edit any autre_son content' 49: 'edit any autre_son content'
- 'edit any concernement content' 51: 'edit any enregistrement content'
- 'edit any enregistrement content' 52: 'edit any entite content'
- 'edit any entite content' 53: 'edit any evenement content'
- 'edit any evenement content' 54: 'edit any page content'
- 'edit any page content' 55: 'edit any static content'
- 'edit any static content' 56: 'edit own enregistrement content'
- 'edit own enregistrement content' 57: 'edit terms in collectionneurs'
- 'edit terms in collectionneurs' 58: 'edit terms in entrees'
- 'edit terms in entrees' 59: 'edit terms in genres'
- 'edit terms in genres' 60: 'edit terms in langues'
- 'edit terms in langues' 61: 'edit terms in locuteurs'
- 'edit terms in locuteurs' 62: 'edit users by role'
- 'edit users by role' 63: 'edit users with role group_admin'
- 'edit users with role group_admin' 64: 'edit users with role group_member'
- 'edit users with role group_member' 65: 'execute entity:save_action menu_link_content'
- 'execute entity:save_action menu_link_content' 66: 'execute entity:save_action node'
- 'execute entity:save_action node' 67: 'execute entity:save_action taxonomy_term'
- 'execute entity:save_action taxonomy_term' 68: 'execute entity:save_action user'
- 'execute entity:save_action user' 69: 'execute node_assign_owner_action node'
- 'execute node_assign_owner_action node' 70: 'execute node_promote_action node'
- 'execute node_promote_action node' 71: 'execute node_save_action node'
- 'execute node_save_action node' 72: 'execute node_unpromote_action node'
- 'execute node_unpromote_action node' 73: 'execute user_add_role_action user'
- 'execute user_add_role_action user' 74: 'execute user_block_user_action user'
- 'execute user_block_user_action user' 75: 'execute user_remove_role_action user'
- 'execute user_remove_role_action user' 76: 'execute user_unblock_user_action user'
- 'execute user_unblock_user_action user' 77: 'execute vbo_cancel_user_action user'
- 'execute vbo_cancel_user_action user' 78: 'execute views_bulk_edit all'
- 'execute views_bulk_edit all' 79: 'execute workflow_node_given_state_action node'
- 'execute workflow_node_given_state_action node' 80: 'execute workflow_node_next_state_action node'
- 'execute workflow_node_next_state_action node' 81: 'revert any corpus_documents workflow_transition'
- 'revert any corpus_documents workflow_transition' 82: 'revert any generique workflow_transition'
- 'revert any generique workflow_transition' 83: 'revert autre_son revisions'
- 'revert autre_son revisions' 84: 'revert concernement revisions'
- 'revert concernement revisions' 85: 'revert enregistrement revisions'
- 'revert enregistrement revisions' 86: 'revert entite revisions'
- 'revert entite revisions' 87: 'revert evenement revisions'
- 'revert evenement revisions' 88: 'revert page revisions'
- 'revert page revisions' 89: 'revert static revisions'
- 'revert static revisions' 90: 'role-assign users with role group_admin'
- 'role-assign users with role group_admin' 91: 'role-assign users with role group_member'
- 'role-assign users with role group_member' 92: 'schedule corpus_documents workflow_transition'
- 'schedule corpus_documents workflow_transition' 93: 'schedule generique workflow_transition'
- 'schedule generique workflow_transition' 94: 'translate enregistrement node'
- 'translate enregistrement node' 95: 'translate entrees taxonomy_term'
- 'translate entrees taxonomy_term' 96: 'translate evenement node'
- 'translate evenement node' 97: 'translate genres taxonomy_term'
- 'translate genres taxonomy_term' 98: 'translate langues taxonomy_term'
- 'translate langues taxonomy_term' 99: 'translate menu_link_content'
- 'translate menu_link_content' 100: 'translate page node'
- 'translate page node' 101: 'translate static node'
- 'translate static node' 102: 'update content translations'
- 'update content translations' 103: 'use text format wysiwyg'
- 'use text format wysiwyg' 104: 'view autre_son revisions'
- 'view autre_son revisions' 105: 'view concernement revisions'
- 'view concernement revisions' 106: 'view enregistrement revisions'
- 'view enregistrement revisions' 107: 'view entite revisions'
- 'view entite revisions' 108: 'view evenement revisions'
- 'view evenement revisions' 109: 'view own unpublished content'
- 'view own unpublished content' 110: 'view page revisions'
- 'view page revisions' 111: 'view static revisions'
- 'view static revisions' 112: 'view the administration theme'
- 'view the administration theme' 113: 'view user email addresses'
- 'view user email addresses' 114: 'view users by role'
- 'view users by role' 115: 'view users with role group_admin'
- 'view users with role group_admin' 116: 'view users with role group_member'
- 'view users with role group_member' 117: 'create terms in lieu'
- 'create terms in lieu' 118: 'create terms in structure'
- 'create terms in structure' 119: 'delete terms in lieu'
- 'delete terms in lieu' 120: 'delete terms in structure'
- 'delete terms in structure' 121: 'edit terms in lieu'
- 'edit terms in lieu' 122: 'edit terms in structure'
- 'edit terms in structure' 123: 'access taxonomy overview'
- 'access taxonomy overview' 124: 'create confidentialite workflow_transition'
125: 'edit own concernement content'

View File

@ -10,6 +10,7 @@ dependencies:
- graphql - graphql
- group - group
- system - system
- workflow
_core: _core:
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
id: anonymous id: anonymous
@ -31,3 +32,4 @@ permissions:
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view published fil entities' - 'view published fil entities'
- 'view search api pages' - 'view search api pages'
- 'create confidentialite workflow_transition'

View File

@ -11,6 +11,7 @@ dependencies:
- graphql - graphql
- group - group
- system - system
- workflow
_core: _core:
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
id: authenticated id: authenticated
@ -46,3 +47,6 @@ permissions:
- 'view published fil entities' - 'view published fil entities'
- 'view search api pages' - 'view search api pages'
- 'use text format linkonly' - 'use text format linkonly'
- 'create confidentialite workflow_transition'
- 'access own confidentialite workflow_transion overview'
- 'revert own confidentialite workflow_transition'

View File

@ -14,6 +14,7 @@ dependencies:
- system - system
- taxonomy - taxonomy
- toolbar - toolbar
- workflow
id: group_admin id: group_admin
label: 'group admin' label: 'group admin'
weight: -3 weight: -3
@ -46,3 +47,4 @@ permissions:
- 'edit terms in lieu' - 'edit terms in lieu'
- 'edit terms in structure' - 'edit terms in structure'
- 'access taxonomy overview' - 'access taxonomy overview'
- 'create confidentialite workflow_transition'

View File

@ -9,6 +9,7 @@ dependencies:
- node - node
- system - system
- toolbar - toolbar
- workflow
id: group_member id: group_member
label: 'group member' label: 'group member'
weight: -2 weight: -2
@ -26,3 +27,4 @@ permissions:
- 'view entite revisions' - 'view entite revisions'
- 'view own unpublished content' - 'view own unpublished content'
- 'view the administration theme' - 'view the administration theme'
- 'create confidentialite workflow_transition'

View File

@ -32,6 +32,7 @@ dependencies:
- taxonomy - taxonomy
- toolbar - toolbar
- views_ui - views_ui
- workflow
_core: _core:
default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ default_config_hash: TBu83Sl_ckotQqV22pDBGe0jLnR1nLyiVeVVnYJX_kQ
id: root id: root

View File

@ -1,7 +1,9 @@
uuid: fd49076e-124c-4973-9a8e-efbd35cd1fbe uuid: fd49076e-124c-4973-9a8e-efbd35cd1fbe
langcode: fr langcode: fr
status: true status: true
dependencies: { } dependencies:
module:
- workflow
_core: _core:
default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
id: user id: user
@ -11,3 +13,4 @@ is_admin: null
permissions: permissions:
- 'create defalut workflow_transition' - 'create defalut workflow_transition'
- 'create default workflow_transition' - 'create default workflow_transition'
- 'create confidentialite workflow_transition'

View File

@ -0,0 +1,4 @@
_core:
default_config_hash: ne-hLr6xAfj-y7himkP4sQpLeAsTLAzt9YuxlQCk8N8
langcode: fr
workflow_states_per_page: 20

View File

@ -0,0 +1,12 @@
uuid: 0351b46e-4e73-41c2-96e1-721e94de7f9d
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.confidentialite
id: confidentialite_creation
label: Création
module: workflow
wid: confidentialite
weight: -11
sysid: 1

View File

@ -0,0 +1,12 @@
uuid: 183705af-2ec6-4139-bae1-66259dd6fa7b
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.confidentialite
id: confidentialite_interne
label: Interne
module: workflow
wid: confidentialite
weight: -8
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: ba338719-1bd7-4037-b595-5ce9eb9d62f1
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.confidentialite
id: confidentialite_prive
label: Privé
module: workflow
wid: confidentialite
weight: -9
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: c647b5ee-7a46-4de6-958a-002e0c32e382
langcode: fr
status: true
dependencies:
config:
- workflow.workflow.confidentialite
id: confidentialite_public
label: Public
module: workflow
wid: confidentialite
weight: -7
sysid: 0

View File

@ -0,0 +1,21 @@
uuid: ab020652-689c-444c-80e4-c2707e53ac6e
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_creation
- workflow.state.confidentialite_interne
id: confidentialite_creation_interne
label: null
module: workflow
from_sid: confidentialite_creation
to_sid: confidentialite_interne
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: 85b1be83-d2bd-4a90-b27d-803269f91d36
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_creation
- workflow.state.confidentialite_prive
id: confidentialite_creation_prive
label: null
module: workflow
from_sid: confidentialite_creation
to_sid: confidentialite_prive
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: 2e2d73c6-d25d-4eb6-8c7e-e1f7aa64b92b
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_creation
- workflow.state.confidentialite_public
id: confidentialite_creation_public
label: null
module: workflow
from_sid: confidentialite_creation
to_sid: confidentialite_public
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,12 @@
uuid: 660a5e55-b825-4929-8f4e-c4cd8cdf7909
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_interne
id: confidentialite_interne_interne
label: null
module: workflow
from_sid: confidentialite_interne
to_sid: confidentialite_interne
roles: { }

View File

@ -0,0 +1,21 @@
uuid: f5b55ad2-a374-427f-a4c1-a379a7ec0b24
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_interne
- workflow.state.confidentialite_prive
id: confidentialite_interne_prive
label: null
module: workflow
from_sid: confidentialite_interne
to_sid: confidentialite_prive
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: c8bf1fae-a2c9-48ee-8474-78501db435b5
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_interne
- workflow.state.confidentialite_public
id: confidentialite_interne_public
label: null
module: workflow
from_sid: confidentialite_interne
to_sid: confidentialite_public
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: 0972a24b-390b-4d93-8d8d-4f818d05de26
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_interne
- workflow.state.confidentialite_prive
id: confidentialite_prive_interne
label: null
module: workflow
from_sid: confidentialite_prive
to_sid: confidentialite_interne
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,12 @@
uuid: a2b1e04e-972f-44ee-84e8-07855498a354
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_prive
id: confidentialite_prive_prive
label: null
module: workflow
from_sid: confidentialite_prive
to_sid: confidentialite_prive
roles: { }

View File

@ -0,0 +1,21 @@
uuid: d2d5c293-2ead-4fc8-95be-ef68d3a3a0c5
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_prive
- workflow.state.confidentialite_public
id: confidentialite_prive_public
label: null
module: workflow
from_sid: confidentialite_prive
to_sid: confidentialite_public
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: 01fe5f06-6534-475b-ba5d-e35ed4d57074
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_interne
- workflow.state.confidentialite_public
id: confidentialite_public_interne
label: null
module: workflow
from_sid: confidentialite_public
to_sid: confidentialite_interne
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,21 @@
uuid: 01009bf6-5dca-4e7f-9e38-84d47dae0665
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_prive
- workflow.state.confidentialite_public
id: confidentialite_public_prive
label: null
module: workflow
from_sid: confidentialite_public
to_sid: confidentialite_prive
roles:
workflow_author: workflow_author
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'
group_admin: '0'
group_member: '0'

View File

@ -0,0 +1,12 @@
uuid: b7ab92f0-4333-4077-af68-16e9e6c0fe27
langcode: fr
status: true
dependencies:
config:
- workflow.state.confidentialite_public
id: confidentialite_public_public
label: null
module: workflow
from_sid: confidentialite_public
to_sid: confidentialite_public
roles: { }

View File

@ -0,0 +1,16 @@
uuid: 03cc8dff-7247-434e-b13f-fd07e5e352ff
langcode: fr
status: true
dependencies: { }
id: confidentialite
label: Confidentialité
module: workflow
options:
name_as_title: 1
fieldset: 0
options: radios
schedule_enable: false
schedule_timezone: 0
always_update_entity: 0
comment_log_node: 0
watchdog_log: 1

View File

@ -0,0 +1,99 @@
confidentialite_prive:
workflow_author:
grant_view: true
grant_update: true
grant_delete: true
anonymous:
grant_view: 0
grant_update: 0
grant_delete: 0
authenticated:
grant_view: 0
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: 0
grant_delete: 0
root:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
group_admin:
grant_view: 0
grant_update: 0
grant_delete: 0
group_member:
grant_view: 0
grant_update: 0
grant_delete: 0
confidentialite_interne:
workflow_author:
grant_view: 0
grant_update: true
grant_delete: true
anonymous:
grant_view: 0
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: 0
grant_delete: 0
root:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
group_admin:
grant_view: 0
grant_update: 0
grant_delete: 0
group_member:
grant_view: 0
grant_update: 0
grant_delete: 0
confidentialite_public:
workflow_author:
grant_view: 0
grant_update: true
grant_delete: true
anonymous:
grant_view: true
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: 0
grant_delete: 0
root:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
group_admin:
grant_view: 0
grant_update: 0
grant_delete: 0
group_member:
grant_view: 0
grant_update: 0
grant_delete: 0

View File

@ -0,0 +1,4 @@
_core:
default_config_hash: 3ETcNoKFd7BS1XpRDb7DnLCLSImcSqLv0rEQ0VJhE-E
langcode: fr
workflow_access_priority: 0