diff -r cc3ec1423ead -r 2172c8c29fe6 schemas/base.py --- 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):