Hi When a user ask to my system for some data I "construct" a dictionary with all relevant data that I need (for example python scripts, Page Templates, etc) I a part of the precess I need to make these dictionary persists between calls I'm trying PersistentDict from http://www.zope.org/Members/AndrewWilcox/PersistentListDict and works fine (I can see the dictionary) but when I try to access to these dictionary keys I have these error: Error Type: Unauthorized Error Value: You are not allowed to access 'key in the dictionary I'm try to access' in this context My question will be: How can I create a persistent dictionary with some Zope objects references? Thanks ! * ***
Garito wrote at 2004-10-6 02:58 +0200:
... I'm trying PersistentDict from http://www.zope.org/Members/AndrewWilcox/PersistentListDict and works fine (I can see the dictionary) but when I try to access to these dictionary keys I have these error: Error Type: Unauthorized Error Value: You are not allowed to access 'key in the dictionary I'm try to access' in this context
My question will be:
How can I create a persistent dictionary with some Zope objects references?
You must provide security declarations for "PersistentDict". The Zope Developer Guide tells you how. -- Dieter
Dieter Maurer wrote:
Garito wrote at 2004-10-6 02:58 +0200:
... I'm trying PersistentDict from http://www.zope.org/Members/AndrewWilcox/PersistentListDict and works fine (I can see the dictionary) but when I try to access to these dictionary keys I have these error: Error Type: Unauthorized Error Value: You are not allowed to access 'key in the dictionary I'm try to access' in this context
My question will be:
How can I create a persistent dictionary with some Zope objects references?
You must provide security declarations for "PersistentDict".
The Zope Developer Guide tells you how.
Thanks!!!
participants (2)
-
Dieter Maurer -
Garito