Skip to content
Snippets Groups Projects
Commit 0120dccac13d authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

merge

No related branches found
No related tags found
No related merge requests found
from yams.buildobjs import EntityType, RelationType, String, Boolean from yams.buildobjs import EntityType, RelationType, String, Boolean, RichString
try:
from yams.buildobjs import RichString
except ImportError:
from cubicweb.schema import RichString
_ = unicode _ = unicode
class Link(EntityType): class Link(EntityType):
...@@ -17,7 +11,6 @@ ...@@ -17,7 +11,6 @@
description = RichString(fulltextindexed=True, description = RichString(fulltextindexed=True,
description=_("description of the linked page's content")) description=_("description of the linked page's content"))
class embed(RelationType): class embed(RelationType):
__permissions__ = {'read': ('managers', 'users', 'guests'), __permissions__ = {'read': ('managers', 'users', 'guests'),
'delete': ('managers',), 'delete': ('managers',),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment