added draft workflow's state

This commit is contained in:
Bachir Soussi Chiadmi 2021-09-02 16:45:32 +02:00
parent 38807c1460
commit 5824eef86e
13 changed files with 196 additions and 3 deletions

View File

@ -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

View File

@ -8,5 +8,5 @@ id: workflow_visible
label: Visible
module: workflow
wid: workflow
weight: -5
weight: -4
sysid: 0

View File

@ -8,5 +8,5 @@ id: workflow_wip
label: 'In Progress'
module: workflow
wid: workflow
weight: -6
weight: -5
sysid: 0

View File

@ -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'

View File

@ -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'

View File

@ -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: { }

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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