app/soc/views/models/notification.py
changeset 890 b3bf833c4580
parent 876 0c1329d4b514
child 970 8b5611d5b053
equal deleted inserted replaced
889:5f3136a5eb4c 890:b3bf833c4580
    85     rights = {}
    85     rights = {}
    86     rights['unspecified'] = [access.deny]
    86     rights['unspecified'] = [access.deny]
    87     rights['edit'] = [access.deny]
    87     rights['edit'] = [access.deny]
    88     rights['show'] = [access.checkIsMyNotification]
    88     rights['show'] = [access.checkIsMyNotification]
    89     rights['delete'] = [access.checkIsMyNotification]
    89     rights['delete'] = [access.checkIsMyNotification]
    90     rights['list'] = [access.checkIsUser]
    90     rights['list'] = [access.checkAgreesToSiteToS]
    91     # create is developer only for the time being to test functionality
    91     # create is developer only for the time being to test functionality
    92     rights['create'] = [access.checkIsDeveloper]
    92     rights['create'] = [access.checkIsDeveloper]
    93 
    93 
    94     new_params = {}
    94     new_params = {}
    95     new_params['logic'] = notification_logic.logic
    95     new_params['logic'] = notification_logic.logic