- Timestamp:
- 8 Jul 2006, 16:49:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/roots/campus.xml
r282 r289 4 4 <property name=".cpsskins_theme">waeup_plain_theme</property> 5 5 <object name="academics" portal_type="AcademicsFolder" /> 6 <object name="accom odation" portal_type="AccoFolder" />6 <object name="accommodation" portal_type="AccoFolder" /> 7 7 <object name="students" portal_type="StudentsFolder" /> 8 8 </object> -
WAeUP_SRP/trunk/skins/waeup_default/getCPSCandidateLocalRoles.py
r256 r289 17 17 from Products.CMFCore.utils import getToolByName 18 18 mtool = getToolByName(context, 'portal_membership') 19 return [' Manager','SectionManager']19 return ['FacultyManager','DepartmentManager','SectionReader'] 20 20 return mtool.getCPSCandidateLocalRoles(context) -
WAeUP_SRP/trunk/skins/waeup_default/temporary_view_all.py
r197 r289 17 17 return context.Chat() 18 18 else: 19 if url0.find(uname) > 0 or 'UniversityManager' in roles or 'Manager' in roles: 19 return context.temporary_view_all_form(psm=psm) 20 if url0.find(uname) > 0 or 'DepartmentManager' in roles or 'Manager' in roles: 20 21 return context.temporary_view_all_form(psm=psm) 21 22 elif 'Student' in roles and 'StudentManager' not in roles: -
WAeUP_SRP/trunk/skins/waeup_student/process_waeup_login.py
r251 r289 11 11 #waeup = context.portal_catalog(id = 'demouni')[0] 12 12 #waeup = context.portal_catalog(portal_type = 'University')[0] 13 if "Manager" in member.getRoles():13 if 1 or "Manager" in member.getRoles(): 14 14 return 15 15 #return 16 16 member_id = str(member) 17 17 ma = getattr(context,member_id)
Note: See TracChangeset for help on using the changeset viewer.