app/soc/views/models/club_app.py
changeset 1201 0a4c1af700a0
parent 1200 e68fd70ba076
child 1203 38225f2ad3a6
equal deleted inserted replaced
1200:e68fd70ba076 1201:0a4c1af700a0
    55     rights['edit'] = [('checkCanEditGroupApp',
    55     rights['edit'] = [('checkCanEditGroupApp',
    56                        [club_app_logic.logic])]
    56                        [club_app_logic.logic])]
    57     rights['list'] = ['checkIsUser']
    57     rights['list'] = ['checkIsUser']
    58     rights['public'] = [('checkCanEditGroupApp',
    58     rights['public'] = [('checkCanEditGroupApp',
    59                          [club_app_logic.logic])]
    59                          [club_app_logic.logic])]
    60     rights['review'] = [('checkHasRole', host_logic.logic)]
    60     rights['review'] = [('checkHasRole', host_logic.logic),
       
    61                         ('checkCanReviewGroupApp', [club_app_logic.logic])]
    61 
    62 
    62     new_params = {}
    63     new_params = {}
    63 
    64 
    64     new_params['rights'] = rights
    65     new_params['rights'] = rights
    65     new_params['logic'] = club_app_logic.logic
    66     new_params['logic'] = club_app_logic.logic