- Timestamp:
- 10 Jan 2007, 23:44:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1255 r1261 71 71 ###) 72 72 73 security.declareProtected(ModifyPortalContent,'getCredential') 73 security.declareProtected(ModifyPortalContent,'getCredential') ###( 74 74 def getCredential(self,student_id): 75 75 "return a student password" … … 77 77 if student_entry is None: 78 78 return None 79 else:80 return student_entry.password79 return getattr(student_entry.password,"not set") 80 ###) 81 81 82 82 security.declareProtected(ModifyPortalContent,'createOne') ###( … … 138 138 member = membership.getMemberById(sid) 139 139 self.portal_registration.afterAdd(member, sid, password, None) 140 self.manage_setLocalRoles(sid, ['Owner',])140 #self.manage_setLocalRoles(sid, ['Owner',]) 141 141 ###) 142 142
Note: See TracChangeset for help on using the changeset viewer.