fix rtags to have correct msgids for bookmarked_by relation
authorsylvain.thenault@logilab.fr
Wed, 11 Feb 2009 15:41:30 +0100
changeset 583 d0c6f5efb837
parent 582 0260b3b71d71
child 584 3ca2cbf1e2ce
fix rtags to have correct msgids for bookmarked_by relation
entities/authobjs.py
entities/lib.py
--- a/entities/authobjs.py	Wed Feb 11 15:20:49 2009 +0100
+++ b/entities/authobjs.py	Wed Feb 11 15:41:30 2009 +0100
@@ -1,3 +1,10 @@
+"""entity classes user and group entities
+
+:organization: Logilab
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
+"""
+__docformat__ = "restructuredtext en"
 from logilab.common.decorators import cached
 
 from cubicweb import Unauthorized
@@ -26,6 +33,7 @@
                   'in_group'   : 'primary', 
                   ('owned_by', '*', 'object') : ('generated', 'link'),
                   ('created_by','*','object') : ('generated', 'link'),
+                  ('bookmarked_by', '*', 'object'): ('generated', 'create'),
                   }
     
     # used by repository to check if  the user can log in or not
--- a/entities/lib.py	Wed Feb 11 15:20:49 2009 +0100
+++ b/entities/lib.py	Wed Feb 11 15:41:30 2009 +0100
@@ -1,7 +1,7 @@
 """entity classes for optional library entities
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"