schemas/workflow.py
branch3.5
changeset 3263 5129918c671b
parent 2977 6dd4f4a3ff2a
child 3303 f961392e7517
equal deleted inserted replaced
3262:12ffb1e95771 3263:5129918c671b
    31                                    constraints=[RQLConstraint('O state_of S')],
    31                                    constraints=[RQLConstraint('O state_of S')],
    32                                    description=_('initial state for this workflow'))
    32                                    description=_('initial state for this workflow'))
    33 
    33 
    34 
    34 
    35 class default_workflow(RelationType):
    35 class default_workflow(RelationType):
    36     """default workflow for this entity types"""
    36     """default workflow for an entity type"""
    37     permissions = META_RTYPE_PERMS
    37     permissions = META_RTYPE_PERMS
    38 
    38 
    39     subject = 'CWEType'
    39     subject = 'CWEType'
    40     object = 'Workflow'
    40     object = 'Workflow'
    41     cardinality = '?*'
    41     cardinality = '?*'