Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.0.0-beta1, 2.5.5
-
None
Description
Steps to reproduce:
1. Setup workflow as follows:
ezpublish: system: default: # site or sitegroup workflows: article_workflow: name: 'Article Workflow' matchers: content_type: article # or [] content_status: draft # or published stages: draft: label: 'Draft' color: '#666' design: label: 'Design' color: '#cf3d84' proofread: label: 'Proofread' color: '#4958b7' done: color: '#0f0' last_stage: true initial_stage: draft transitions: to_design: from: draft to: design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to design' to_proofread_manger: from: draft to: proofread icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to proofread Manager' to_proofread: from: design to: proofread icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to proofread' notification: # Which User Group or User to notify about this transition ContentId ! user_group: 12 # admins user: 252 #reviewer done: from: proofread to: done icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to done' notification: # Which User Group or User to notify about this transition ContentId ! user_group: 250 user: 253 back_to_draft: reverse: to_design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to draft' back_to_design: reverse: to_proofread icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Design' back_to_draft_from_proofread: from: proofread to: draft icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to draft' back_to_proofread: reverse: done icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Proofread'
2. Set up new user role with limitation to article_workflow: to_design transition.
3. Create new article
Expected result:
You see only Send to Design button coming from workflow
Actual result:
You see all workflow buttons from draft stage.