Author: jmorliaguet
Date: Mon Oct  3 18:55:45 2005
New Revision: 27878

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/browser/renderers/filters/layout.py
Log:

- permission fix (which caused page rendering in "content authoring" mode
  to fail to display the correct layout values)



Modified: 
z3lab/cpsskins/branches/jmo-perspectives/browser/renderers/filters/layout.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/browser/renderers/filters/layout.py    
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/browser/renderers/filters/layout.py    
    Mon Oct  3 18:55:45 2005
@@ -22,6 +22,7 @@
 from zope.component import adapts
 from zope.interface import implements
 from zope.publisher.interfaces import IRequest
+from zope.security.proxy import removeSecurityProxy
 
 from cpsskins.elements.formats.interfaces import IFormat
 from interfaces import IFilter
@@ -145,6 +146,7 @@
         for k, v in context.items():
             if not v:
                 continue
+            v = removeSecurityProxy(v)
             if k == 'width':
                 style_attr += 'width:%s;' % v
             elif k == 'align':
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to