Changeset 2304
- Timestamp:
- 3 Oct 2007, 14:57:35 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2300 r2304 338 338 ###) 339 339 340 security.declareProtected( ModifyPortalContent,'getCredential') ###(340 security.declareProtected(View,'getCredential') ###( 341 341 def getCredential(self,student_id): 342 342 "return a student password" -
WAeUP_SRP/base/exportimport.py
r2258 r2304 87 87 roles=('SectionOfficer',)) 88 88 if students is not None: 89 students.manage_setLocalGroupRoles(groupid = 'StudentsReaders', 90 roles=('SectionReader',)) 89 91 students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers', 90 92 roles=('SectionReader',)) … … 130 132 importWAeUPTable(site.portal_catalog, '', context,'portal_catalog') 131 133 importWAeUPTable(site.portal_catalog_real, '', context,'portal_catalog_real') 132 134 133 135 site.portal_catalog.id = 'portal_catalog' 134 136 site.portal_catalog_real.id = 'portal_catalog_real' 135 137 136 138 137 139 from Products.CPSCore.exportimport.catalog import CatalogToolXMLAdapter -
WAeUP_SRP/base/skins/waeup_student/student_view.pt
r2059 r2304 104 104 105 105 106 <span tal:condition="python:info['member'].id in107 ('admin','joachim','kehindesamuel','med','isouaba','obadejo',108 'ehioaiks','despej','shinakale','igadoghe','benamechi','edafeohwo')">109 106 <br /> 110 107 <form action="mail_password_form" method="post" class="group" … … 112 109 <input type="submit" class="context" value="Send Email with Authentication Data" /> 113 110 </form> 114 </span>115 111 116 112 -
WAeUP_SRP/base/skins/waeup_student/students_index.py
r2030 r2304 24 24 25 25 if "ClearanceOfficers" in member.getGroups() or\ 26 "StudentsReaders" in member.getGroups() or\ 26 27 "CourseAdvisers" in member.getGroups(): 27 28 return redirect("%s/campus/students/search_students" % context.portal_url()) … … 31 32 id = str(member) 32 33 return redirect("%s/%s/student_view" % (students_url, id)) 33 34 34 35 return redirect("%s/srp_invalid_access" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.