Ignore:
Timestamp:
19 Jul 2006, 09:33:54 (18 years ago)
Author:
joachim
Message:

make site accessible for SectionReaders?

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py

    r334 r350  
    1717from Products.CMFCore.utils import getToolByName
    1818mtool = getToolByName(context, 'portal_membership')
    19 return mtool.getCPSCandidateLocalRoles(context)
    20 return ['SectionManager']
     19#return mtool.getCPSCandidateLocalRoles(context)
     20return ['SectionReader','SectionManager']
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.pt

    r334 r350  
    3838                   dum_home mtool/createMemberArea"
    3939                   >
    40           <tal:block
    41               condition="python:0"
    42               tal:define="dummy python: context.process_waeup_login(member=member,sc_pin=request.get('sc_pin'))" />
     40          <span tal:condition="nothing"
     41              tal:define="dummy python: context.process_waeup_login(member=member,sc_pin=request.get('sc_pin',None))" />
    4342          <tal:block condition="first_time">
    4443            <div tal:define="now here/ZopeTime;
Note: See TracChangeset for help on using the changeset viewer.