secure the condition relation
authorsylvain.thenault@logilab.fr
Wed, 08 Apr 2009 09:38:58 +0200
changeset 1281 0cec611248be
parent 1280 ebf1d748ed5a
child 1299 dc4f774dc0af
child 1331 2335945523f5
secure the condition relation
misc/migration/3.1.5_Any.py
schemas/base.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')
--- 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