- Timestamp:
- 6 Nov 2007, 15:04:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2548 r2555 342 342 ###) 343 343 344 security.declareProtected( View,'getCredential') ###(344 security.declareProtected(ModifyPortalContent,'getCredential') ###( 345 345 def getCredential(self,student_id): 346 346 "return a student password" 347 347 student_entry = getattr(self.portal_directories.students,student_id,None) 348 if not self.isStaff(): 349 return None 348 350 if student_entry is None: 349 351 return None … … 369 371 ###) 370 372 371 security.declareProtected( View,'doCommit') ###(373 security.declareProtected(ModifyPortalContent,'doCommit') ###( 372 374 def doCommit(self,logger=None): 373 375 "commit some transactions"
Note: See TracChangeset for help on using the changeset viewer.