[Checkins] SVN: zope.file/trunk/src/zope/file/configure.zcml
Protect opentDetached by zope.View instead of
zope.ManageContent because it
Christian Zagrodnick
cz at gocept.com
Tue Mar 11 05:57:56 EDT 2008
Log message for revision 84580:
Protect opentDetached by zope.View instead of zope.ManageContent because it
returns a read-only file handle which cannot be changed. So a view permission
seems more appropiate.
Changed:
U zope.file/trunk/src/zope/file/configure.zcml
-=-
Modified: zope.file/trunk/src/zope/file/configure.zcml
===================================================================
--- zope.file/trunk/src/zope/file/configure.zcml 2008-03-11 09:55:41 UTC (rev 84579)
+++ zope.file/trunk/src/zope/file/configure.zcml 2008-03-11 09:57:55 UTC (rev 84580)
@@ -9,7 +9,7 @@
<require
permission="zope.View"
interface="zope.mimetype.interfaces.IContentTypeAware"
- attributes="size"
+ attributes="size openDetached"
/>
<require
permission="zope.ManageContent"
@@ -17,7 +17,7 @@
/>
<require
permission="zope.ManageContent"
- attributes="open openDetached"
+ attributes="open"
/>
<implements
interface="
More information about the Checkins
mailing list