app/soc/views/models/org_app.py
changeset 1250 b06e6e014658
parent 1246 756fd7195213
child 1255 9fe8c6c54933
equal deleted inserted replaced
1249:59d1e6b594ae 1250:b06e6e014658
    59                        ('checkIsActivePeriod', ['org_signup', 'scope_path'])]
    59                        ('checkIsActivePeriod', ['org_signup', 'scope_path'])]
    60     rights['list'] = ['checkIsDeveloper']
    60     rights['list'] = ['checkIsDeveloper']
    61     rights['public'] = [('checkCanEditGroupApp',
    61     rights['public'] = [('checkCanEditGroupApp',
    62                        [org_app_logic.logic])]
    62                        [org_app_logic.logic])]
    63     # TODO(ljvderijk) fix host access check
    63     # TODO(ljvderijk) fix host access check
    64     rights['review'] = ['checkIsHostForProgram',
    64     rights['review'] = ['checkIsHostForProgramInScope',
    65                         ('checkCanReviewGroupApp', [org_app_logic.logic])]
    65                         ('checkCanReviewGroupApp', [org_app_logic.logic])]
    66     rights['review_overview'] = ['checkIsHostForProgram']
    66     rights['review_overview'] = ['checkIsHostForProgramInScope']
    67     rights['apply'] = ['checkIsUser',
    67     rights['apply'] = ['checkIsUser',
    68                              ('checkCanCreateOrgApp', ['org_signup'])]
    68                              ('checkCanCreateOrgApp', ['org_signup'])]
    69 
    69 
    70     new_params = {}
    70     new_params = {}
    71 
    71