Hello Adam, On Tue, 2011-08-23 at 15:13 +0200, Adam GROSZER wrote:
<class class="persistent.list.PersistentList"> <allow attributes="__getitem__ __getslice__ __len__ __iter__ __contains__ index count data" /> </class>
Should do it. (but beware I did not test!)
That is in zope.app.security/_protections.zcml
Might be that you'd need to include that package.
Yes. Including that file in zcml solved the issue. <include package="zope.app.security" file="_protections.zcml" /> Apart from the PersistentList and PersistentDict I see many other BTree related allow attributes configurations. I guess these configurations are not available in any other place and including this '_protections.zcml' is safe. Thanks for the tip. Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in