Ignore:
Timestamp:
19 Mar 2007, 21:59:41 (18 years ago)
Author:
joachim
Message:

merged changes 1588:1596 from trunk to joachim-event-branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/Students.py

    r1596 r1597  
    9292    portal_type = meta_type
    9393    security = ClassSecurityInfo()
    94 
    95 
    9694
    9795    security.declareProtected(ModifyPortalContent,"createDEStudents")###(
     
    12461244    ###)
    12471245
    1248 
    1249 
    1250     security.declareProtected(View,"fixOwnership")
     1246    security.declareProtected(View,"fixOwnership") ###(
    12511247    def fixOwnership(self):
    12521248        """fix Ownership"""
     
    12571253            student.application.manage_setLocalRoles(sid, ['Owner',])
    12581254            student.personal.manage_setLocalRoles(sid, ['Owner',])
    1259 
    1260     security.declareProtected(View,"Title")
     1255    ###)
     1256
     1257    security.declareProtected(View,"Title") ###(
    12611258    def Title(self):
    12621259        """compose title"""
    12631260        return "Student Section"
     1261    ###)
    12641262
    12651263    def generateStudentId(self,letter): ###(
     
    12781276InitializeClass(StudentsFolder)
    12791277
    1280 def addStudentsFolder(container, id, REQUEST=None, **kw):
     1278def addStudentsFolder(container, id, REQUEST=None, **kw): ###(
    12811279    """Add a Student."""
    12821280    ob = StudentsFolder(id, **kw)
    12831281    return CPSBase_adder(container, ob, REQUEST=REQUEST)
     1282    ###)
     1283
    12841284###)
     1285
    12851286
    12861287class Student(CPSDocument): ###(
Note: See TracChangeset for help on using the changeset viewer.