diff --git a/config/sync/workflow.state.workflow_draft.yml b/config/sync/workflow.state.workflow_draft.yml new file mode 100644 index 00000000..9dadb5f9 --- /dev/null +++ b/config/sync/workflow.state.workflow_draft.yml @@ -0,0 +1,12 @@ +uuid: b9bdd8ad-6575-460e-bcf3-5fd946435fc6 +langcode: en +status: true +dependencies: + config: + - workflow.workflow.workflow +id: workflow_draft +label: Draft +module: workflow +wid: workflow +weight: -6 +sysid: 0 diff --git a/config/sync/workflow.state.workflow_visible.yml b/config/sync/workflow.state.workflow_visible.yml index ad4bc46b..d9756832 100644 --- a/config/sync/workflow.state.workflow_visible.yml +++ b/config/sync/workflow.state.workflow_visible.yml @@ -8,5 +8,5 @@ id: workflow_visible label: Visible module: workflow wid: workflow -weight: -5 +weight: -4 sysid: 0 diff --git a/config/sync/workflow.state.workflow_wip.yml b/config/sync/workflow.state.workflow_wip.yml index dc193964..f9ff1228 100644 --- a/config/sync/workflow.state.workflow_wip.yml +++ b/config/sync/workflow.state.workflow_wip.yml @@ -8,5 +8,5 @@ id: workflow_wip label: 'In Progress' module: workflow wid: workflow -weight: -6 +weight: -5 sysid: 0 diff --git a/config/sync/workflow.transition.workflow_creation_draft.yml b/config/sync/workflow.transition.workflow_creation_draft.yml new file mode 100644 index 00000000..4b88216b --- /dev/null +++ b/config/sync/workflow.transition.workflow_creation_draft.yml @@ -0,0 +1,20 @@ +uuid: 21ce13e5-25b1-4222-b202-f886d65debdc +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_creation + - workflow.state.workflow_draft +id: workflow_creation_draft +label: null +module: workflow +from_sid: workflow_creation +to_sid: workflow_draft +roles: + workflow_author: workflow_author + admin: admin + root: root + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_creation_visible.yml b/config/sync/workflow.transition.workflow_creation_visible.yml index a208fbf9..35840724 100644 --- a/config/sync/workflow.transition.workflow_creation_visible.yml +++ b/config/sync/workflow.transition.workflow_creation_visible.yml @@ -11,9 +11,9 @@ module: workflow from_sid: workflow_creation to_sid: workflow_visible roles: + workflow_author: workflow_author admin: admin root: root - workflow_author: '0' anonymous: '0' authenticated: '0' student: '0' diff --git a/config/sync/workflow.transition.workflow_draft_draft.yml b/config/sync/workflow.transition.workflow_draft_draft.yml new file mode 100644 index 00000000..aed8e8cf --- /dev/null +++ b/config/sync/workflow.transition.workflow_draft_draft.yml @@ -0,0 +1,12 @@ +uuid: cf7554d9-fe98-4c98-b9eb-58c3553b998b +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft +id: workflow_draft_draft +label: null +module: workflow +from_sid: workflow_draft +to_sid: workflow_draft +roles: { } diff --git a/config/sync/workflow.transition.workflow_draft_hidden.yml b/config/sync/workflow.transition.workflow_draft_hidden.yml new file mode 100644 index 00000000..65e5523b --- /dev/null +++ b/config/sync/workflow.transition.workflow_draft_hidden.yml @@ -0,0 +1,20 @@ +uuid: cc075707-ab23-479a-b39f-c9d4a7cd2184 +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_hidden +id: workflow_draft_hidden +label: null +module: workflow +from_sid: workflow_draft +to_sid: workflow_hidden +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_draft_visible.yml b/config/sync/workflow.transition.workflow_draft_visible.yml new file mode 100644 index 00000000..96df3f98 --- /dev/null +++ b/config/sync/workflow.transition.workflow_draft_visible.yml @@ -0,0 +1,20 @@ +uuid: de88c191-bf98-4e56-9bdd-096a28429f32 +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_visible +id: workflow_draft_visible +label: null +module: workflow +from_sid: workflow_draft +to_sid: workflow_visible +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_draft_wip.yml b/config/sync/workflow.transition.workflow_draft_wip.yml new file mode 100644 index 00000000..61022051 --- /dev/null +++ b/config/sync/workflow.transition.workflow_draft_wip.yml @@ -0,0 +1,20 @@ +uuid: 9829c9f2-e065-4dc9-a0fe-911d0892a4bc +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_wip +id: workflow_draft_wip +label: null +module: workflow +from_sid: workflow_draft +to_sid: workflow_wip +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_hidden_draft.yml b/config/sync/workflow.transition.workflow_hidden_draft.yml new file mode 100644 index 00000000..66ea0e01 --- /dev/null +++ b/config/sync/workflow.transition.workflow_hidden_draft.yml @@ -0,0 +1,20 @@ +uuid: 483189f5-6ecc-4546-843c-103811586c08 +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_hidden +id: workflow_hidden_draft +label: null +module: workflow +from_sid: workflow_hidden +to_sid: workflow_draft +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_visible_draft.yml b/config/sync/workflow.transition.workflow_visible_draft.yml new file mode 100644 index 00000000..3f1bd60e --- /dev/null +++ b/config/sync/workflow.transition.workflow_visible_draft.yml @@ -0,0 +1,20 @@ +uuid: 53f54b98-862c-4ed5-9197-1f226d6568dc +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_visible +id: workflow_visible_draft +label: null +module: workflow +from_sid: workflow_visible +to_sid: workflow_draft +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow.transition.workflow_wip_draft.yml b/config/sync/workflow.transition.workflow_wip_draft.yml new file mode 100644 index 00000000..3037f88a --- /dev/null +++ b/config/sync/workflow.transition.workflow_wip_draft.yml @@ -0,0 +1,20 @@ +uuid: e44d204a-132c-45b4-9b4e-16fb7352bb86 +langcode: fr +status: true +dependencies: + config: + - workflow.state.workflow_draft + - workflow.state.workflow_wip +id: workflow_wip_draft +label: null +module: workflow +from_sid: workflow_wip +to_sid: workflow_draft +roles: + admin: admin + root: root + workflow_author: '0' + anonymous: '0' + authenticated: '0' + student: '0' + adherent: '0' diff --git a/config/sync/workflow_access.role.yml b/config/sync/workflow_access.role.yml index 3eb0bbea..baa67713 100644 --- a/config/sync/workflow_access.role.yml +++ b/config/sync/workflow_access.role.yml @@ -218,3 +218,32 @@ workflow_wip: grant_view: true grant_update: 0 grant_delete: 0 +workflow_draft: + admin: + grant_view: true + grant_update: true + grant_delete: true + 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 + student: + grant_view: 0 + grant_update: 0 + grant_delete: 0 + adherent: + grant_view: 0 + grant_update: 0 + grant_delete: 0