server/test/data/schema.py
changeset 10646 45671fb330f5
parent 10487 49a5c38de1de
parent 10640 17bdc485c5b2
child 10669 155c29e0ed1c
--- a/server/test/data/schema.py	Tue Sep 29 12:09:04 2015 +0200
+++ b/server/test/data/schema.py	Fri Oct 09 17:52:14 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)