schemas/Bookmark.py
changeset 2297 4cf57dd80650
parent 2144 51c84d585456
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
equal deleted inserted replaced
2296:f1b74a34da40 2297:4cf57dd80650
     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',),