Changeset 1597 for WAeUP_SRP/branches/joachim-event-branch/Students.py
- Timestamp:
- 19 Mar 2007, 21:59:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/joachim-event-branch/Students.py
r1596 r1597 92 92 portal_type = meta_type 93 93 security = ClassSecurityInfo() 94 95 96 94 97 95 security.declareProtected(ModifyPortalContent,"createDEStudents")###( … … 1246 1244 ###) 1247 1245 1248 1249 1250 security.declareProtected(View,"fixOwnership") 1246 security.declareProtected(View,"fixOwnership") ###( 1251 1247 def fixOwnership(self): 1252 1248 """fix Ownership""" … … 1257 1253 student.application.manage_setLocalRoles(sid, ['Owner',]) 1258 1254 student.personal.manage_setLocalRoles(sid, ['Owner',]) 1259 1260 security.declareProtected(View,"Title") 1255 ###) 1256 1257 security.declareProtected(View,"Title") ###( 1261 1258 def Title(self): 1262 1259 """compose title""" 1263 1260 return "Student Section" 1261 ###) 1264 1262 1265 1263 def generateStudentId(self,letter): ###( … … 1278 1276 InitializeClass(StudentsFolder) 1279 1277 1280 def addStudentsFolder(container, id, REQUEST=None, **kw): 1278 def addStudentsFolder(container, id, REQUEST=None, **kw): ###( 1281 1279 """Add a Student.""" 1282 1280 ob = StudentsFolder(id, **kw) 1283 1281 return CPSBase_adder(container, ob, REQUEST=REQUEST) 1282 ###) 1283 1284 1284 ###) 1285 1285 1286 1286 1287 class Student(CPSDocument): ###(
Note: See TracChangeset for help on using the changeset viewer.