Commit 95593798 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

[refactor] remove Meta*Entity

parent cf2076485127
......@@ -8,7 +8,7 @@ __docformat__ = "restructuredtext en"
_ = unicode
# pylint: disable-msg=E0611,F0401
from yams.buildobjs import (SubjectRelation, RelationType, EntityType, MetaEntityType,
from yams.buildobjs import (SubjectRelation, RelationType, EntityType,
String, Datetime, Int, RelationDefinition)
from cubicweb.schema import ERQLExpression
......@@ -32,7 +32,7 @@ class Email(EntityType):
in_thread = SubjectRelation('EmailThread', cardinality='?*')
class EmailPart(MetaEntityType):
class EmailPart(EntityType):
"""an email attachment"""
permissions = {
'read': ('managers', 'users', 'guests',), # XXX if E parts X, U has_read_permission E
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment