server/test/data/schema.py
branchstable
changeset 4570 ede247bbbf62
parent 4467 0e73d299730a
child 4635 44a883148ab4
--- a/server/test/data/schema.py	Mon Feb 15 15:05:15 2010 +0100
+++ b/server/test/data/schema.py	Mon Feb 15 15:10:25 2010 +0100
@@ -137,14 +137,13 @@
 class para(RelationType):
     __permissions__ = {
         'read':   ('managers', 'users', 'guests'),
-        'add':    ('managers', ERQLExpression('X in_state S, S name "todo"')),
-        'delete': ('managers', ERQLExpression('X in_state S, S name "todo"')),
+        'update':    ('managers', ERQLExpression('X in_state S, S name "todo"')),
         }
 
 class test(RelationType):
     __permissions__ = {'read': ('managers', 'users', 'guests'),
-                   'delete': ('managers',),
-                   'add': ('managers',)}
+                       'update': ('managers',),
+                       }
 
 class multisource_rel(RelationDefinition):
     subject = ('Card', 'Note')