Ignore:
Timestamp:
23 Aug 2007, 21:42:23 (17 years ago)
Author:
Henrik Bettermann
Message:

increase security

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume_manage.py

    r2157 r2158  
    3030
    3131
    32 if not context.isStaff():
     32if not context.isSectionOfficer():
    3333    return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.absolete_url())
    34    
     34
    3535#type_name = 'StudentApplication'
    3636#ti = context.portal_types[type_name]
     
    5757    context.applicants_catalog.modifyRecord(**data)
    5858    logger.info('%s reset application record of %s' % (member,reg_no))
    59    
    60 #set_trace() 
    6159
    62 ds = [] 
     60#set_trace()
     61
     62ds = []
    6363if reg_no:
    6464    brains = context.applicants_catalog(reg_no = reg_no)
     
    7575    else:
    7676        psm = "reg no %s not found" % reg_no
    77        
     77
    7878return context.apply_pume_manage_form(rendered = res,
    7979                                      psm = psm,
Note: See TracChangeset for help on using the changeset viewer.