schemas/base.py
branchstable
changeset 6853 584679872fd7
parent 6622 27402fe6a94a
child 6882 b5e34836f84e
--- a/schemas/base.py	Thu Jan 20 08:23:27 2011 +0100
+++ b/schemas/base.py	Thu Jan 20 09:16:52 2011 +0100
@@ -242,6 +242,12 @@
 
 
 class CWSource(EntityType):
+    __permissions__ = {
+        'read':   ('managers', 'users', 'guests'),
+        'add':    ('managers',),
+        'update': ('managers',),
+        'delete': ('managers',),
+        }
     name = String(required=True, unique=True, maxsize=128,
                   description=_('name of the source'))
     type = String(required=True, maxsize=20, description=_('type of the source'))