server/test/data/migratedapp/schema.py
changeset 9636 e35ae8617c03
parent 9600 bde625698f44
child 9984 793377697c81
--- a/server/test/data/migratedapp/schema.py	Mon Apr 07 17:02:04 2014 +0200
+++ b/server/test/data/migratedapp/schema.py	Mon Apr 07 18:04:56 2014 +0200
@@ -127,6 +127,7 @@
 class evaluee(RelationDefinition):
     subject = ('Personne', 'CWUser', 'Societe')
     object = ('Note')
+    constraints = [RQLVocabularyConstraint('S owned_by U')]
 
 class ecrit_par(RelationType):
     __permissions__ = {'read':   ('managers', 'users', 'guests',),