[Zope3-checkins] CVS: Zope3/src/zope/app/container - configure.zcml:1.12
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 12:21:28 -0400
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv2714/src/zope/app/container
Modified Files:
configure.zcml
Log Message:
Added security declaration for 'rename' of ZopeContainerDecorator.
This has an XXX against it due to the problem discussed in
src/zope/app/context.txt
=== Zope3/src/zope/app/container/configure.zcml 1.11 => 1.12 ===
--- Zope3/src/zope/app/container/configure.zcml:1.11 Wed Jun 4 10:57:56 2003
+++ Zope3/src/zope/app/container/configure.zcml Fri Jun 6 12:21:27 2003
@@ -42,6 +42,16 @@
for="zope.app.interfaces.container.IContainer"
/>
+ <!-- XXX There is a sticky question of what permission 'rename' should have.
+ See src/zope/app/context.txt for further discussion.
+ -->
+ <class class="zope.app.container.zopecontainer.ZopeContainerDecorator">
+ <require
+ attributes="rename"
+ permission="zope.ManageServices"
+ />
+ </class>
+
<adapter
factory="zope.app.container.size.ContainerSized"
provides="zope.app.interfaces.size.ISized"