author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 27 May 2009 15:19:25 +0200 | |
changeset 1966 | 87ce7d336393 |
parent 1802 | d628defebc17 |
child 1977 | 606923dff11b |
permissions | -rw-r--r-- |
0 | 1 |
class ToTo(EntityType): |
2 |
permissions = { |
|
3 |
'read': ('managers',), |
|
4 |
'add': ('managers',), |
|
5 |
'update': ('managers',), |
|
6 |
'delete': ('managers',), |
|
7 |
} |
|
8 |
attr = String() |
|
1802
d628defebc17
delete-trailing-whitespace + some copyright update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
0
diff
changeset
|
9 |
|
0 | 10 |
class attr(RelationType): |
11 |
permissions = { |
|
12 |
'read': ('managers', ), |
|
13 |
'add': ('managers', RRQLExpression('S bla Y'),), |
|
14 |
'delete': ('managers',), |
|
15 |
} |