--- a/schemas/workflow.py Fri Aug 21 16:26:20 2009 +0200
+++ b/schemas/workflow.py Wed Aug 26 14:45:56 2009 +0200
@@ -58,7 +58,7 @@
allowed_transition = SubjectRelation('BaseTransition', cardinality='**',
constraints=[RQLConstraint('S state_of WF, O transition_of WF')],
description=_('allowed transitions from this state'))
- state_of = SubjectRelation('Workflow', cardinality='+*',
+ state_of = SubjectRelation('Workflow', cardinality='1*',
description=_('workflow to which this state belongs'),
constraints=[RQLUniqueConstraint('S name N, Y state_of O, Y name N')])
@@ -81,7 +81,7 @@
require_group = SubjectRelation('CWGroup', cardinality='**',
description=_('group in which a user should be to be '
'allowed to pass this transition'))
- transition_of = SubjectRelation('Workflow', cardinality='+*',
+ transition_of = SubjectRelation('Workflow', cardinality='1*',
description=_('workflow to which this transition belongs'),
constraints=[RQLUniqueConstraint('S name N, Y transition_of O, Y name N')])