author | sylvain.thenault@logilab.fr |
Thu, 14 May 2009 12:50:14 +0200 | |
branch | 450c435d69b9 |
changeset 1812 | 4307a461f029 |
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', RRQLExpression('S bla Y'), ), 'add': ('managers',), 'delete': ('managers',), }