schemas/workflow.py
changeset 2602 7bfa83772d90
parent 2501 fa86d99c2c3a
child 2920 64322aa83a1d
equal deleted inserted replaced
2601:5196d213f4e3 2602:7bfa83772d90
   117 
   117 
   118 class in_state(RelationType):
   118 class in_state(RelationType):
   119     """indicate the current state of an entity"""
   119     """indicate the current state of an entity"""
   120     # not inlined intentionnaly since when using ldap sources, user'state
   120     # not inlined intentionnaly since when using ldap sources, user'state
   121     # has to be stored outside the CWUser table
   121     # has to be stored outside the CWUser table
   122 
   122     inlined = False
   123     # add/delete perms given to managers/users, after what most of the job
   123     # add/delete perms given to managers/users, after what most of the job
   124     # is done by workflow enforcment
   124     # is done by workflow enforcment
   125     permissions = {
   125     permissions = {
   126         'read':   ('managers', 'users', 'guests',),
   126         'read':   ('managers', 'users', 'guests',),
   127         'add':    ('managers', 'users',), # XXX has_update_perm
   127         'add':    ('managers', 'users',), # XXX has_update_perm