equal
deleted
inserted
replaced
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',), |