server/test/data/schema.py
changeset 10640 17bdc485c5b2
parent 10285 d14db30b90d6
parent 10584 743ed2b13a6f
child 10646 45671fb330f5
--- a/server/test/data/schema.py	Thu Oct 08 18:24:09 2015 +0200
+++ b/server/test/data/schema.py	Thu Oct 08 18:38:16 2015 +0200
@@ -128,6 +128,12 @@
 
 
 class Personne(EntityType):
+    __permissions__ = {
+        'read':   ('managers', 'users', 'guests'), # 'guests' will be removed
+        'add':    ('managers', 'users'),
+        'update': ('managers', 'owners'),
+        'delete': ('managers', 'owners')
+    }
     __unique_together__ = [('nom', 'prenom', 'inline2')]
     nom    = String(fulltextindexed=True, required=True, maxsize=64)
     prenom = String(fulltextindexed=True, maxsize=64)