Changeset 2557 for WAeUP_SRP


Ignore:
Timestamp:
6 Nov 2007, 15:40:21 (17 years ago)
Author:
joachim
Message:

unprotect makeStudentData, fix ref

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2556 r2557  
    517517    ###)
    518518
    519     security.declareProtected(ModifyPortalContent,'makeStudentMember') ###(
     519    security.declarePublic('makeStudentMember') ###(
    520520    def makeStudentMember(self,sid,password='uNsEt'):
    521521        """make the student a member"""
  • WAeUP_SRP/base/Widgets.py

    r2541 r2557  
    13871387        elif self.isStudent():
    13881388            do = 0
     1389            ref = datastructure[self.reference]
    13891390            err ='You are logged in, please log out. PIN neither checked nor used.'
    13901391            s_logger.info('%s/%s applied for screening test with PIN %s' % (member_id,ref,pin_str))
Note: See TracChangeset for help on using the changeset viewer.