author | Katia Saurfelt <katia.saurfelt@logilab.fr> |
Tue, 19 May 2009 14:31:42 +0200 | |
branch | stable |
changeset 1868 | af1ae863606d |
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 |
} |