[Zope-CVS] CVS: Products/CompositePage - render.py:1.2

Shane Hathaway shane at zope.com
Mon Dec 29 15:59:32 EST 2003


Update of /cvs-repository/Products/CompositePage
In directory cvs.zope.org:/tmp/cvs-serv14370

Modified Files:
	render.py 
Log Message:
Fixed permission settings to enable changing views


=== Products/CompositePage/render.py 1.1 => 1.2 ===
--- Products/CompositePage/render.py:1.1	Sat Dec 27 17:56:43 2003
+++ Products/CompositePage/render.py	Mon Dec 29 15:59:32 2003
@@ -15,7 +15,6 @@
 $Id$
 """
 
-import Acquisition
 from Acquisition import aq_base, aq_inner, aq_parent, aq_get
 from AccessControl.SecurityInfo import ClassSecurityInfo
 from DocumentTemplate.DT_Util import safe_callable
@@ -67,10 +66,11 @@
         ob._annotations[name] = value
 
 
-class SimpleItemInlineRenderer(Acquisition.Implicit):
+class SimpleItemInlineRenderer(SimpleItem):
     __implements__ = IRenderableInline
 
     security = ClassSecurityInfo()
+    security.declareObjectProtected(perm_names.view)
 
     security.declareProtected(perm_names.view, "renderInline")
     def renderInline(self):




More information about the Zope-CVS mailing list