[CMF-checkins] CVS: Products/CMFDefault/skins/generic - personalize_form.dtml:1.2
Jens Vagelpohl
jens@zope.com
Wed, 10 Oct 2001 10:40:51 -0400
Update of /cvs-repository/Products/CMFDefault/skins/generic
In directory cvs.zope.org:/tmp/cvs-serv15906/CMFDefault/skins/generic
Modified Files:
personalize_form.dtml
Log Message:
CMF Tracker 349 (thanks to Bill Anderson): added access control checking to
personalize_form so that Anonymous can't access it.
=== Products/CMFDefault/skins/generic/personalize_form.dtml 1.1 => 1.2 ===
+
+
<dtml-let member="portal_membership.getAuthenticatedMember()">
+
+ <dtml-if "not portal_membership.checkPermission( 'Set own properties', this() )">
+ <dtml-raise Unauthorized>
+ You must be logged in to view this resource.
+ </dtml-raise>
+ </dtml-if>
<div class="Desktop">