test/data/rrqlexpr_on_attr.py
changeset 2634 273eec072cf8
parent 1977 606923dff11b
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
equal deleted inserted replaced
2633:bc9386c3b2c9 2634:273eec072cf8
     3 :organization: Logilab
     3 :organization: Logilab
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     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 from yams.buildobjs import EntityType, RelationType, String
       
     9 from cubicweb.schema import RRQLExpression
       
    10 
     8 class ToTo(EntityType):
    11 class ToTo(EntityType):
     9     permissions = {
    12     permissions = {
    10         'read': ('managers',),
    13         'read': ('managers',),
    11         'add': ('managers',),
    14         'add': ('managers',),
    12         'update': ('managers',),
    15         'update': ('managers',),