author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Fri, 09 Jan 2009 16:56:51 +0100 | |
changeset 383 | 66804d97b919 |
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',), }