author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 19 May 2009 10:05:19 +0200 | |
branch | stable |
changeset 1857 | 46f975203f4f |
parent 1802 | d628defebc17 |
child 1977 | 606923dff11b |
permissions | -rw-r--r-- |
class ToTo(EntityType): permissions = { 'read': ('managers',), 'add': ('managers',), 'update': ('managers',), 'delete': ('managers',), } toto = SubjectRelation('TuTu') class TuTu(EntityType): permissions = { 'read': ('managers',), 'add': ('managers',), 'update': ('managers',), 'delete': ('managers',), } class toto(RelationType): permissions = { 'read': ('managers', RRQLExpression('S bla Y'), ), 'add': ('managers',), 'delete': ('managers',), }