[Zope3-Users] Security proxies when dealing with objects as dictionary keys?

2005-09-20 Thread Alec Munro
I have a situation where I would like to use objects as dictionary keys. These objects are normally security proxied, so I assume removeSecurityProxy is required? Is there any other way to do this? I have a dislike of using removeSecurityProxy where I can avoid it. Thanks, Alec Munro

Re: [Zope3-Users] Security proxies when dealing with objects as dictionary keys?

2005-09-20 Thread Benji York
Alec Munro wrote: I have a situation where I would like to use objects as dictionary keys. These objects are normally security proxied, so I assume removeSecurityProxy is required? If you make security declarations such that the proxied objects are usable then it should work without removing

[Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-20 Thread Alec Munro
Hi all, I have a content component that has a property that is a dictionary, the keys of which are objects (content components themselves). The values are lists of strings. I've tried implementing this a couple different ways, but each time I restart, the dictionary comes up empty. I've tried init