app/soc/views/models/program.py
changeset 2257 7c0af7e05257
parent 2199 9e22f90ec781
child 2292 80361f34c457
equal deleted inserted replaced
2256:7b95f10b206a 2257:7c0af7e05257
    91     rights['delete'] = ['checkIsDeveloper']
    91     rights['delete'] = ['checkIsDeveloper']
    92     rights['assign_slots'] = ['checkIsHostForProgram']
    92     rights['assign_slots'] = ['checkIsHostForProgram']
    93     rights['slots'] = ['checkIsHostForProgram']
    93     rights['slots'] = ['checkIsHostForProgram']
    94     rights['show_duplicates'] = ['checkIsHostForProgram']
    94     rights['show_duplicates'] = ['checkIsHostForProgram']
    95     rights['assigned_proposals'] = ['checkIsHostForProgram']
    95     rights['assigned_proposals'] = ['checkIsHostForProgram']
    96     rights['accepted_orgs'] = [('checkisAfterEvent',
    96     rights['accepted_orgs'] = [('checkIsAfterEvent',
    97         ['accepted_organization_announced_deadline', '__all__'])]
    97         ['accepted_organization_announced_deadline', '__all__'])]
    98 
    98 
    99     new_params = {}
    99     new_params = {}
   100     new_params['logic'] = soc.logic.models.program.logic
   100     new_params['logic'] = soc.logic.models.program.logic
   101     new_params['rights'] = rights
   101     new_params['rights'] = rights