Changeset 289 for WAeUP_SRP


Ignore:
Timestamp:
8 Jul 2006, 16:49:39 (18 years ago)
Author:
joachim
Message:

=some fixes

Location:
WAeUP_SRP/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/roots/campus.xml

    r282 r289  
    44  <property name=".cpsskins_theme">waeup_plain_theme</property>
    55  <object name="academics" portal_type="AcademicsFolder" />
    6   <object name="accomodation" portal_type="AccoFolder" />
     6  <object name="accommodation" portal_type="AccoFolder" />
    77  <object name="students" portal_type="StudentsFolder" />
    88</object>
  • WAeUP_SRP/trunk/skins/waeup_default/getCPSCandidateLocalRoles.py

    r256 r289  
    1717from Products.CMFCore.utils import getToolByName
    1818mtool = getToolByName(context, 'portal_membership')
    19 return ['Manager','SectionManager']
     19return ['FacultyManager','DepartmentManager','SectionReader']
    2020return mtool.getCPSCandidateLocalRoles(context)
  • WAeUP_SRP/trunk/skins/waeup_default/temporary_view_all.py

    r197 r289  
    1717    return context.Chat()
    1818else:
    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:
    2021        return context.temporary_view_all_form(psm=psm)
    2122    elif 'Student' in roles and 'StudentManager' not in roles:
  • WAeUP_SRP/trunk/skins/waeup_student/process_waeup_login.py

    r251 r289  
    1111    #waeup = context.portal_catalog(id = 'demouni')[0]
    1212    #waeup = context.portal_catalog(portal_type = 'University')[0]
    13     if "Manager" in member.getRoles():
     13    if 1 or "Manager" in member.getRoles():
    1414        return
    15 
     15#return
    1616member_id = str(member)
    1717ma = getattr(context,member_id)
Note: See TracChangeset for help on using the changeset viewer.