author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 20 May 2009 11:54:54 +0200 | |
branch | stable |
changeset 1877 | 10b9feeb7905 |
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 |
} |