# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1234363290 -3600 # Node ID d0c6f5efb837948b58a7a95fef18a49e982ea5e0 # Parent 0260b3b71d71983c893f4b4a100e16e27936c680 fix rtags to have correct msgids for bookmarked_by relation diff -r 0260b3b71d71 -r d0c6f5efb837 entities/authobjs.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 diff -r 0260b3b71d71 -r d0c6f5efb837 entities/lib.py --- 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"