schemas/base.py
branchtls-sprint
changeset 1742 25a765e756c4
parent 1477 b056a49c16dc
child 1977 606923dff11b
equal deleted inserted replaced
1741:fe5266f0f88c 1742:25a765e756c4
    51 (such as python-projects@logilab.org and python-projects@lists.logilab.org), set this \
    51 (such as python-projects@logilab.org and python-projects@lists.logilab.org), set this \
    52 to true on one of them which is the preferred form.'))
    52 to true on one of them which is the preferred form.'))
    53     identical_to = SubjectRelation('EmailAddress')
    53     identical_to = SubjectRelation('EmailAddress')
    54 
    54 
    55 class use_email(RelationType):
    55 class use_email(RelationType):
    56     """"""
    56     """ """
    57     permissions = {
    57     permissions = {
    58         'read':   ('managers', 'users', 'guests',),
    58         'read':   ('managers', 'users', 'guests',),
    59         'add':    ('managers', RRQLExpression('U has_update_permission S'),),
    59         'add':    ('managers', RRQLExpression('U has_update_permission S'),),
    60         'delete': ('managers', RRQLExpression('U has_update_permission S'),),
    60         'delete': ('managers', RRQLExpression('U has_update_permission S'),),
    61         }
    61         }