schemas/base.py
changeset 4590 2172c8c29fe6
parent 4535 71c86a315a9a
child 4719 aaed3f813ef8
--- a/schemas/base.py	Mon Feb 15 19:37:50 2010 +0100
+++ b/schemas/base.py	Mon Feb 15 19:37:57 2010 +0100
@@ -170,19 +170,11 @@
     """link a permission to the entity. This permission should be used in the
     security definition of the entity's type to be useful.
     """
-    __permissions__ = {
-        'read':   ('managers', 'users', 'guests'),
-        'add':    ('managers',),
-        'delete': ('managers',),
-        }
+    __permissions__ = META_RTYPE_PERMS
 
 class require_group(RelationType):
     """used to grant a permission to a group"""
-    __permissions__ = {
-        'read':   ('managers', 'users', 'guests'),
-        'add':    ('managers',),
-        'delete': ('managers',),
-        }
+    __permissions__ = META_RTYPE_PERMS
 
 
 class ExternalUri(EntityType):