equal
deleted
inserted
replaced
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 _ = unicode |
9 _ = unicode |
10 |
10 |
11 from yams.buildobjs import EntityType, RelationType, String |
11 from yams.buildobjs import EntityType, RelationType, SubjectRelation, String |
|
12 from cubicweb.schema import RRQLExpression |
12 |
13 |
13 class Bookmark(EntityType): |
14 class Bookmark(EntityType): |
14 """bookmarks are used to have user's specific internal links""" |
15 """bookmarks are used to have user's specific internal links""" |
15 permissions = { |
16 permissions = { |
16 'read': ('managers', 'users', 'guests',), |
17 'read': ('managers', 'users', 'guests',), |