equal
deleted
inserted
replaced
7 """ |
7 """ |
8 from yams.buildobjs import EntityType, String |
8 from yams.buildobjs import EntityType, String |
9 from cubicweb.schema import RRQLExpression |
9 from cubicweb.schema import RRQLExpression |
10 |
10 |
11 class ToTo(EntityType): |
11 class ToTo(EntityType): |
12 permissions = { |
12 __permissions__ = { |
13 'read': ('managers', RRQLExpression('S bla Y'),), |
13 'read': ('managers', RRQLExpression('S bla Y'),), |
14 'add': ('managers',), |
14 'add': ('managers',), |
15 'update': ('managers',), |
15 'update': ('managers',), |
16 'delete': ('managers',), |
16 'delete': ('managers',), |
17 } |
17 } |