# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239176338 -7200 # Node ID 0cec611248bebe8ae8b50ef71cdd8135cece7b11 # Parent ebf1d748ed5a3b9506fd2fce5fcb54c5a036e69b secure the condition relation diff -r ebf1d748ed5a -r 0cec611248be misc/migration/3.1.5_Any.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/migration/3.1.5_Any.py Wed Apr 08 09:38:58 2009 +0200 @@ -0,0 +1,1 @@ +synchronize_permissions('condition') diff -r ebf1d748ed5a -r 0cec611248be schemas/base.py --- a/schemas/base.py Tue Apr 07 10:46:40 2009 +0200 +++ b/schemas/base.py Wed Apr 08 09:38:58 2009 +0200 @@ -212,6 +212,10 @@ """link a state to one or more entity type""" class transition_of(MetaRelationType): """link a transition to one or more entity type""" +class condition(MetaRelationType): + """link a transition to one or more rql expression allowing to go through + this transition + """ class initial_state(MetaRelationType): """indicate which state should be used by default when an entity using