Changeset 912 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 20 Nov 2006, 18:24:56 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/getDynamicRoles.py
r911 r912 12 12 return the dynamic roles 13 13 """ 14 return ('ClearanceOfficer','CourseAdviser' ,'SectionManager')14 return ('ClearanceOfficer','CourseAdviser') 15 15 -
WAeUP_SRP/trunk/skins/waeup_default/isSectionManager.py
r903 r912 12 12 mtool = context.portal_membership 13 13 roles = mtool.getAuthenticatedMember().getRolesInContext(context) 14 context.REQUEST.set("roles",roles) 14 15 return "SectionManager" in roles or\ 15 16 "Manager" in roles
Note: See TracChangeset for help on using the changeset viewer.