configured workflow for documents
This commit is contained in:
+22
-15
@@ -11,12 +11,14 @@ dependencies:
|
|||||||
- field.field.node.enregistrement.field_langues
|
- field.field.node.enregistrement.field_langues
|
||||||
- field.field.node.enregistrement.field_locuteurs
|
- field.field.node.enregistrement.field_locuteurs
|
||||||
- field.field.node.enregistrement.field_son
|
- field.field.node.enregistrement.field_son
|
||||||
|
- field.field.node.enregistrement.field_workflow
|
||||||
- node.type.enregistrement
|
- node.type.enregistrement
|
||||||
module:
|
module:
|
||||||
- field_group
|
- field_group
|
||||||
- file
|
- file
|
||||||
- path
|
- path
|
||||||
- text
|
- text
|
||||||
|
- workflow
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
field_group:
|
field_group:
|
||||||
group_onglets:
|
group_onglets:
|
||||||
@@ -25,7 +27,7 @@ third_party_settings:
|
|||||||
- group_article
|
- group_article
|
||||||
- group_contenu
|
- group_contenu
|
||||||
parent_name: ''
|
parent_name: ''
|
||||||
weight: 2
|
weight: 1
|
||||||
format_type: tabs
|
format_type: tabs
|
||||||
format_settings:
|
format_settings:
|
||||||
id: ''
|
id: ''
|
||||||
@@ -96,7 +98,7 @@ content:
|
|||||||
region: content
|
region: content
|
||||||
created:
|
created:
|
||||||
type: datetime_timestamp
|
type: datetime_timestamp
|
||||||
weight: 5
|
weight: 4
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@@ -160,9 +162,15 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: file_generic
|
type: file_generic
|
||||||
region: content
|
region: content
|
||||||
|
field_workflow:
|
||||||
|
weight: 9
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: workflow_default
|
||||||
|
region: content
|
||||||
langcode:
|
langcode:
|
||||||
type: language_select
|
type: language_select
|
||||||
weight: 3
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
settings:
|
settings:
|
||||||
include_locked: true
|
include_locked: true
|
||||||
@@ -177,7 +185,7 @@ content:
|
|||||||
region: content
|
region: content
|
||||||
path:
|
path:
|
||||||
type: path
|
type: path
|
||||||
weight: 8
|
weight: 7
|
||||||
region: content
|
region: content
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@@ -185,21 +193,14 @@ content:
|
|||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 6
|
weight: 5
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
status:
|
|
||||||
type: boolean_checkbox
|
|
||||||
settings:
|
|
||||||
display_label: true
|
|
||||||
weight: 101
|
|
||||||
third_party_settings: { }
|
|
||||||
region: content
|
|
||||||
sticky:
|
sticky:
|
||||||
type: boolean_checkbox
|
type: boolean_checkbox
|
||||||
settings:
|
settings:
|
||||||
display_label: true
|
display_label: true
|
||||||
weight: 7
|
weight: 6
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
title:
|
title:
|
||||||
@@ -210,13 +211,19 @@ content:
|
|||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
translation:
|
||||||
|
weight: 8
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
uid:
|
uid:
|
||||||
type: entity_reference_autocomplete
|
type: entity_reference_autocomplete
|
||||||
weight: 4
|
weight: 3
|
||||||
settings:
|
settings:
|
||||||
match_operator: CONTAINS
|
match_operator: CONTAINS
|
||||||
size: 60
|
size: 60
|
||||||
placeholder: ''
|
placeholder: ''
|
||||||
region: content
|
region: content
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
hidden: { }
|
hidden:
|
||||||
|
status: true
|
||||||
|
|||||||
@@ -11,9 +11,11 @@ dependencies:
|
|||||||
- field.field.node.enregistrement.field_langues
|
- field.field.node.enregistrement.field_langues
|
||||||
- field.field.node.enregistrement.field_locuteurs
|
- field.field.node.enregistrement.field_locuteurs
|
||||||
- field.field.node.enregistrement.field_son
|
- field.field.node.enregistrement.field_son
|
||||||
|
- field.field.node.enregistrement.field_workflow
|
||||||
- node.type.enregistrement
|
- node.type.enregistrement
|
||||||
module:
|
module:
|
||||||
- audiofield
|
- audiofield
|
||||||
|
- options
|
||||||
- text
|
- text
|
||||||
- user
|
- user
|
||||||
id: node.enregistrement.default
|
id: node.enregistrement.default
|
||||||
@@ -96,6 +98,13 @@ content:
|
|||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
type: audiofield_audioplayer
|
type: audiofield_audioplayer
|
||||||
region: content
|
region: content
|
||||||
|
field_workflow:
|
||||||
|
weight: 110
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
type: list_default
|
||||||
|
region: content
|
||||||
links:
|
links:
|
||||||
weight: 100
|
weight: 100
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ module:
|
|||||||
views: 0
|
views: 0
|
||||||
views_ui: 0
|
views_ui: 0
|
||||||
workflow: 0
|
workflow: 0
|
||||||
|
workflow_access: 0
|
||||||
|
workflow_operations: 0
|
||||||
|
workflow_ui: 0
|
||||||
|
workflowfield: 0
|
||||||
filefield_sources: 1
|
filefield_sources: 1
|
||||||
menu_admin_per_menu: 1
|
menu_admin_per_menu: 1
|
||||||
menu_link_content: 1
|
menu_link_content: 1
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
uuid: 8426f3ef-2a0c-422d-a040-09b02d3b34e2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_workflow
|
||||||
|
- node.type.enregistrement
|
||||||
|
module:
|
||||||
|
- workflow
|
||||||
|
id: node.enregistrement.field_workflow
|
||||||
|
field_name: field_workflow
|
||||||
|
entity_type: node
|
||||||
|
bundle: enregistrement
|
||||||
|
label: Workflow
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: false
|
||||||
|
default_value:
|
||||||
|
- { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: workflow
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
uuid: 5abf0ac1-b267-432a-9e6a-693f5d3002b1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- workflow
|
||||||
|
id: node.field_workflow
|
||||||
|
field_name: field_workflow
|
||||||
|
entity_type: node
|
||||||
|
type: workflow
|
||||||
|
settings:
|
||||||
|
workflow_type: corpus_documents
|
||||||
|
allowed_values_function: workflow_state_allowed_values
|
||||||
|
allowed_values: { }
|
||||||
|
module: workflow
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
@@ -8,14 +8,15 @@ weight: -7
|
|||||||
is_admin: null
|
is_admin: null
|
||||||
permissions:
|
permissions:
|
||||||
- 'access administration pages'
|
- 'access administration pages'
|
||||||
|
- 'access any corpus_documents workflow_transion overview'
|
||||||
- 'access files overview'
|
- 'access files overview'
|
||||||
- 'access toolbar'
|
- 'access toolbar'
|
||||||
- 'access user profiles'
|
- 'access user profiles'
|
||||||
- 'administer nodes'
|
|
||||||
- 'administer productions menu items'
|
- 'administer productions menu items'
|
||||||
- 'administer users'
|
- 'administer users'
|
||||||
- 'change own username'
|
- 'change own username'
|
||||||
- 'create autre_son content'
|
- 'create autre_son content'
|
||||||
|
- 'create corpus_documents workflow_transition'
|
||||||
- 'create enregistrement content'
|
- 'create enregistrement content'
|
||||||
- 'create evenement content'
|
- 'create evenement content'
|
||||||
- 'create fil content'
|
- 'create fil content'
|
||||||
@@ -37,6 +38,7 @@ permissions:
|
|||||||
- 'revert evenement revisions'
|
- 'revert evenement revisions'
|
||||||
- 'revert fil revisions'
|
- 'revert fil revisions'
|
||||||
- 'revert page revisions'
|
- 'revert page revisions'
|
||||||
|
- 'schedule corpus_documents workflow_transition'
|
||||||
- 'translate any entity'
|
- 'translate any entity'
|
||||||
- 'use text format wysiwyg'
|
- 'use text format wysiwyg'
|
||||||
- 'view autre_son revisions'
|
- 'view autre_son revisions'
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ label: Collectionneur
|
|||||||
weight: -8
|
weight: -8
|
||||||
is_admin: null
|
is_admin: null
|
||||||
permissions:
|
permissions:
|
||||||
|
- 'access any corpus_documents workflow_transion overview'
|
||||||
|
- 'create corpus_documents workflow_transition'
|
||||||
- 'create enregistrement content'
|
- 'create enregistrement content'
|
||||||
- 'create fil content'
|
- 'create fil content'
|
||||||
- 'edit any enregistrement content'
|
- 'edit any enregistrement content'
|
||||||
@@ -14,6 +16,7 @@ permissions:
|
|||||||
- 'edit own enregistrement content'
|
- 'edit own enregistrement content'
|
||||||
- 'revert enregistrement revisions'
|
- 'revert enregistrement revisions'
|
||||||
- 'revert fil revisions'
|
- 'revert fil revisions'
|
||||||
|
- 'schedule corpus_documents workflow_transition'
|
||||||
- 'use text format wysiwyg'
|
- 'use text format wysiwyg'
|
||||||
- 'view enregistrement revisions'
|
- 'view enregistrement revisions'
|
||||||
- 'view fil revisions'
|
- 'view fil revisions'
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ weight: -6
|
|||||||
is_admin: null
|
is_admin: null
|
||||||
permissions:
|
permissions:
|
||||||
- 'access administration pages'
|
- 'access administration pages'
|
||||||
|
- 'access any corpus_documents workflow_transion overview'
|
||||||
- 'access content'
|
- 'access content'
|
||||||
- 'access content overview'
|
- 'access content overview'
|
||||||
- 'access contextual links'
|
- 'access contextual links'
|
||||||
@@ -63,6 +64,7 @@ permissions:
|
|||||||
- 'administer user form display'
|
- 'administer user form display'
|
||||||
- 'administer users'
|
- 'administer users'
|
||||||
- 'administer views'
|
- 'administer views'
|
||||||
|
- 'administer workflow'
|
||||||
- 'assign domain administrators'
|
- 'assign domain administrators'
|
||||||
- 'ban IP addresses'
|
- 'ban IP addresses'
|
||||||
- 'bypass node access'
|
- 'bypass node access'
|
||||||
@@ -70,6 +72,7 @@ permissions:
|
|||||||
- 'change own username'
|
- 'change own username'
|
||||||
- 'create autre_son content'
|
- 'create autre_son content'
|
||||||
- 'create content translations'
|
- 'create content translations'
|
||||||
|
- 'create corpus_documents workflow_transition'
|
||||||
- 'create domain aliases'
|
- 'create domain aliases'
|
||||||
- 'create domains'
|
- 'create domains'
|
||||||
- 'create enregistrement content'
|
- 'create enregistrement content'
|
||||||
@@ -131,6 +134,7 @@ permissions:
|
|||||||
- 'revert evenement revisions'
|
- 'revert evenement revisions'
|
||||||
- 'revert fil revisions'
|
- 'revert fil revisions'
|
||||||
- 'revert page revisions'
|
- 'revert page revisions'
|
||||||
|
- 'schedule corpus_documents workflow_transition'
|
||||||
- 'select account cancellation method'
|
- 'select account cancellation method'
|
||||||
- 'switch users'
|
- 'switch users'
|
||||||
- 'synchronize configuration'
|
- 'synchronize configuration'
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: a18cec78-9b93-47e6-b6ac-c386419dcdb2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_creation
|
||||||
|
label: Creation
|
||||||
|
module: null
|
||||||
|
wid: corpus_documents
|
||||||
|
weight: -11
|
||||||
|
sysid: 1
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 20d8cce1-7763-4505-b8eb-9b80197927b5
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_double_fond
|
||||||
|
label: Double-fond
|
||||||
|
module: null
|
||||||
|
wid: corpus_documents
|
||||||
|
weight: -8
|
||||||
|
sysid: 0
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 8e7cb754-6b0d-4fb3-b6d0-dff63828fc15
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_publie
|
||||||
|
label: Publié
|
||||||
|
module: null
|
||||||
|
wid: corpus_documents
|
||||||
|
weight: -7
|
||||||
|
sysid: 0
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
uuid: 36224acc-3d16-406e-929b-32cc09a5229b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_creation_double_fond
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_creation
|
||||||
|
to_sid: corpus_documents_double_fond
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
collectionneur: collectionneur
|
||||||
|
admin: admin
|
||||||
|
root: root
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
uuid: 6cc89f56-0ca4-4803-a2c3-e2ea953d7bdc
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_creation_publie
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_creation
|
||||||
|
to_sid: corpus_documents_publie
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
collectionneur: collectionneur
|
||||||
|
admin: admin
|
||||||
|
root: root
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 504beea7-db5e-4990-8078-19d773d036d8
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_double_fond_double_fond
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_double_fond
|
||||||
|
to_sid: corpus_documents_double_fond
|
||||||
|
roles: { }
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
uuid: d930581e-21e8-445e-b8a5-0278e0ee41ce
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_double_fond_publie
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_double_fond
|
||||||
|
to_sid: corpus_documents_publie
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
collectionneur: collectionneur
|
||||||
|
admin: admin
|
||||||
|
root: root
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
uuid: 6fbd31c0-5975-4b9a-91d4-17915823df46
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_publie_double_fond
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_publie
|
||||||
|
to_sid: corpus_documents_double_fond
|
||||||
|
roles:
|
||||||
|
workflow_author: workflow_author
|
||||||
|
collectionneur: collectionneur
|
||||||
|
admin: admin
|
||||||
|
root: root
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 0948a7c7-3697-44ee-addc-a5441311f1b1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents_publie_publie
|
||||||
|
label: null
|
||||||
|
module: null
|
||||||
|
from_sid: corpus_documents_publie
|
||||||
|
to_sid: corpus_documents_publie
|
||||||
|
roles: { }
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
uuid: 1ce6e270-86d8-434e-b5d9-04b6b99bb267
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: corpus_documents
|
||||||
|
label: 'Corpus''s Documents'
|
||||||
|
module: null
|
||||||
|
options:
|
||||||
|
name_as_title: 0
|
||||||
|
fieldset: 1
|
||||||
|
options: select
|
||||||
|
schedule_timezone: 1
|
||||||
|
comment_log_node: 0
|
||||||
|
watchdog_log: 1
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
corpus_documents_double_fond:
|
||||||
|
workflow_author:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
collectionneur:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
admin:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
root:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
corpus_documents_publie:
|
||||||
|
workflow_author:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
collectionneur:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
admin:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
|
root:
|
||||||
|
grant_view: true
|
||||||
|
grant_update: true
|
||||||
|
grant_delete: 0
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
workflow_access_priority: 0
|
||||||
|
_core:
|
||||||
|
default_config_hash: 3ETcNoKFd7BS1XpRDb7DnLCLSImcSqLv0rEQ0VJhE-E
|
||||||
|
langcode: fr
|
||||||
Reference in New Issue
Block a user