entities/authobjs.py
changeset 596 5ecf67090c2f
parent 590 bbf6d47a2e9b
parent 583 d0c6f5efb837
child 1154 9b23a6836c32
--- a/entities/authobjs.py	Wed Feb 11 14:46:46 2009 +0100
+++ b/entities/authobjs.py	Wed Feb 11 17:00:39 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