branch | 3.5 |
changeset 3277 | 4fdb165ae3de |
parent 3204 | 0b766b8a13e1 |
child 3392 | 36bcf206e157 |
child 3877 | 7ca53fc72a0a |
child 4212 | ab6573088b4a |
--- a/schemas/base.py Thu Sep 17 09:49:13 2009 +0200 +++ b/schemas/base.py Thu Sep 17 09:51:39 2009 +0200 @@ -269,3 +269,8 @@ class see_also(RelationType): """generic relation to link one entity to another""" symetric = True + permissions = { + 'read': ('managers', 'users', 'guests',), + 'add': ('managers', RRQLExpression('U has_update_permission S'),), + 'delete': ('managers', RRQLExpression('U has_update_permission S'),), + }