schemas/base.py
branchstable
changeset 7745 1013c31bfbee
parent 7739 12a802ba5311
child 7780 a1d5365fefc1
equal deleted inserted replaced
7744:bb956f43e8d4 7745:1013c31bfbee
    81     cardinality = '*?'
    81     cardinality = '*?'
    82     composite = 'subject'
    82     composite = 'subject'
    83 
    83 
    84 
    84 
    85 class primary_email(RelationDefinition):
    85 class primary_email(RelationDefinition):
    86     """user's primary email"""
    86     """the prefered email"""
    87     __permissions__ = {
    87     __permissions__ = {
    88         'read':   ('managers', 'users', 'guests',),
    88         'read':   ('managers', 'users', 'guests',),
    89         'add':    ('managers', RRQLExpression('U has_update_permission S'),),
    89         'add':    ('managers', RRQLExpression('U has_update_permission S'),),
    90         'delete': ('managers', RRQLExpression('U has_update_permission S'),),
    90         'delete': ('managers', RRQLExpression('U has_update_permission S'),),
    91         }
    91         }