Plone:object 的冻结状态变化(条件)

Plone: Froze state changing for an object (conditioned)

是否可以根据条件冻结给定 object 的状态变化?

我有:

我需要的:

你能为这个案例提出解决方案吗?

解决方案是使用过渡保护:https://docs.plone.org/4/en/old-reference-manuals/archgenxml/basic-features/workflows.html?highlight=guard#transition-guards

我用作表达式python:here.is_allowed_state_change() is True

我定义is_allowed_state_change到returnTrue如果会议没有结束