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

=some fixes

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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:
Note: See TracChangeset for help on using the changeset viewer.