Changeset 2556


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

more protection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2555 r2556  
    362362    ###)
    363363
    364     security.declarePublic('editPassword') ###(
     364    security.declareProtected(ModifyPortalContent,'editPassword') ###(
    365365    def editPassword(self,student_id,password):
    366366        "edit a student password"
     
    517517    ###)
    518518
    519     security.declarePublic('makeStudentMember') ###(
     519    security.declareProtected(ModifyPortalContent,'makeStudentMember') ###(
    520520    def makeStudentMember(self,sid,password='uNsEt'):
    521521        """make the student a member"""
     
    534534    ###)
    535535
    536     security.declarePublic('makeStudentData') ###(
     536    security.declareProtected(ModifyPortalContent,'makeStudentData') ###(
    537537    def makeStudentData(self,student_id,email=None,phone_nr=None):
    538538        "create Datastructure for a returning Student"
     
    635635###)
    636636
    637     security.declarePublic('admitOneStudent') ###(
     637    security.declareProtected(ModifyPortalContent,'admitOneStudent') ###(
    638638    def admitOneStudent(self,brain):
    639639        "create Datastructure for an admitted Student"
     
    722722    ###)
    723723
    724     security.declarePublic('makeStudentLevel') ###(
     724    security.declareProtected(ModifyPortalContent,'makeStudentLevel') ###(
    725725    def makeStudentLevel(self,student_id):
    726726        "create the StudyLevel for a returning Student"
Note: See TracChangeset for help on using the changeset viewer.