schemas/base.py
branch3.5
changeset 3277 4fdb165ae3de
parent 3204 0b766b8a13e1
child 3392 36bcf206e157
child 3877 7ca53fc72a0a
child 4212 ab6573088b4a
equal deleted inserted replaced
3276:4480887772a3 3277:4fdb165ae3de
   267         }
   267         }
   268 
   268 
   269 class see_also(RelationType):
   269 class see_also(RelationType):
   270     """generic relation to link one entity to another"""
   270     """generic relation to link one entity to another"""
   271     symetric = True
   271     symetric = True
       
   272     permissions = {
       
   273         'read':   ('managers', 'users', 'guests',),
       
   274         'add':    ('managers', RRQLExpression('U has_update_permission S'),),
       
   275         'delete': ('managers', RRQLExpression('U has_update_permission S'),),
       
   276         }