schemas/base.py
changeset 6 29ab115b9fcb
parent 0 b97547f5f1fa
child 59 9660bd221553
--- a/schemas/base.py	Wed Nov 05 15:52:50 2008 +0100
+++ b/schemas/base.py	Thu Nov 06 14:14:33 2008 +0100
@@ -309,6 +309,13 @@
     symetric = True
 
 class ECache(EntityType):
+    permissions = {
+        'read':   ('managers', 'users', 'guests'),
+        'add':    ('managers',),
+        'update': ('managers', 'users',),
+        'delete': ('managers',),
+        }
+
     name = String(required=True, unique=True, indexed=True, 
                   description=_('name of the cache'))
     timestamp = Datetime(default='NOW')