Plone / Zope Using two workflows by content type, can I show the current state / states related to the user's role in the status bar?

I have two workflows that I did in Zope Manager: A_Workflow, B_Workflow, and I assigned it to the content type “contract”.

A_Workflow has two states: Pending approval (initial) Approved

There is a transition for approval (approve_a) that goes to A Approved and a transition for retraction (retract_a) that goes into the pending approval A through the required permission that only A_Manager can execute.

B_Workflow has two states: Waiting for approval B (initial) B Approved

There is a transition for approval (approve_b), which goes to B Approved and a transition for retraction (retract_b), which goes to the waiting statement B, that only B_Manager can execute through the required permission.

The participant creates a contract, and the first state is pending approval A. I see that the corresponding transitions are available when I logged in as A_Manager and when I logged in as B_Manager. However, B_Manager can only see the status of A_Workflow, despite the change state of B_Workflow (statement B appears when state is in approval state B, Retract B appears when state B is approved)

Sorry if this is an uncomfortable question, but is it possible to show the status in the status bar? If so, how can I?

+4
2

, ( , ).

( ), Plone : , "" ( ) Plone.

Plone. : , , plone.app.contentmenu.

. , - , , z3c.unconfigure overrides.zcml

. ( " " ) : https://github.com/keul/collective.factorymenu/tree/master/src/collective/factorymenu

+4

Source: https://habr.com/ru/post/1654467/


All Articles