schemas/workflow.py
changeset 10903 da30851f9706
parent 10666 7f6b5f023884
equal deleted inserted replaced
10902:41bd01ebebb4 10903:da30851f9706
   271 
   271 
   272 class in_state(RelationType):
   272 class in_state(RelationType):
   273     """indicate the current state of an entity"""
   273     """indicate the current state of an entity"""
   274     __permissions__ = RO_REL_PERMS
   274     __permissions__ = RO_REL_PERMS
   275 
   275 
   276     # not inlined intentionnaly since when using ldap sources, user'state
   276     # not inlined intentionnally since when using ldap sources, user'state
   277     # has to be stored outside the CWUser table
   277     # has to be stored outside the CWUser table
   278     inlined = False
   278     inlined = False
   279 
   279 
   280     cardinality = '1*'
   280     cardinality = '1*'
   281     constraints = [RQLConstraint('S is ET, O state_of WF, WF workflow_of ET',
   281     constraints = [RQLConstraint('S is ET, O state_of WF, WF workflow_of ET',