Changeset 5711 for main/waeup.plonetheme


Ignore:
Timestamp:
9 Feb 2011, 07:22:24 (14 years ago)
Author:
Henrik Bettermann
Message:

Declare allowAnonymousViewAbout locally True instead of removing the 'raiseUnauthorized' line. This allows anonymous users to fill the feedback form and we do no longer need to display email addresses of members.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.plonetheme/trunk/waeup/plonetheme/skins/waeup_plonetheme_custom_templates/author.cpt

    r5705 r5711  
    2828                    tal:define="site_properties here/portal_properties/site_properties;
    2929                                allowAnonymousViewAbout python:site_properties.getProperty('allowAnonymousViewAbout', True);
     30                                allowAnonymousViewAbout python:True;
    3031                                isAnon context/@@plone_portal_state/anonymous;
    3132                                raiseUnauthorized python:(not isAnon or allowAnonymousViewAbout) or here.raiseUnauthorized();
Note: See TracChangeset for help on using the changeset viewer.