author | Sandrine Ribeau <sandrine.ribeau@logilab.fr> |
Wed, 22 Apr 2009 21:50:53 -0700 | |
changeset 1443 | 1fe264666619 |
parent 0 | b97547f5f1fa |
child 1802 | d628defebc17 |
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', ), 'add': ('managers', ERQLExpression('S bla Y'),), 'delete': ('managers',), }