schemas/workflow.py
changeset 2234 1fbcf202882d
parent 2140 1cba3393ba01
parent 2229 edf20a9ca376
child 2459 d088d0ff48a1
equal deleted inserted replaced
2209:2b91abd9f5a4 2234:1fbcf202882d
    58                                     description=_('group in which a user should be to be '
    58                                     description=_('group in which a user should be to be '
    59                                                   'allowed to pass this transition'))
    59                                                   'allowed to pass this transition'))
    60     transition_of = SubjectRelation('CWEType', cardinality='+*',
    60     transition_of = SubjectRelation('CWEType', cardinality='+*',
    61                                     description=_('entity types which may use this transition'),
    61                                     description=_('entity types which may use this transition'),
    62                                     constraints=[RQLConstraint('O final FALSE')])
    62                                     constraints=[RQLConstraint('O final FALSE')])
    63     destination_state = SubjectRelation('State', cardinality='?*',
    63     destination_state = SubjectRelation('State', cardinality='1*',
    64                                         constraints=[RQLConstraint('S transition_of ET, O state_of ET')],
    64                                         constraints=[RQLConstraint('S transition_of ET, O state_of ET')],
    65                                         description=_('destination state for this transition'))
    65                                         description=_('destination state for this transition'))
    66 
    66 
    67 
    67 
    68 class TrInfo(EntityType):
    68 class TrInfo(EntityType):