Re: [Zope] Using md5 with allow_module

2008-01-08 Thread Dieter Maurer
Running Clam wrote at 2008-1-7 21:10 +: >I have a need to generate an md5 hash for an XML fragment generated by >TTW Zope code. > >I thought I could do this with "allow_module" - I have a >pseudo-product with an __init_,py that contains: - > ># Global module assertions for Python scripts >from

Re: [Zope] Using md5 with allow_module

2008-01-08 Thread Running Clam
Hi Andreas, On 1/8/08, Andreas Jung <[EMAIL PROTECTED]> wrote: > > Enough people have struggled with this that I'd like to understand it > > well enough to add something to the wiki for the next person who has > > the problem... > > There is an intriguing comment at the end of the page: > >

Re: [Zope] Using md5 with allow_module

2008-01-07 Thread Andreas Jung
--On 8. Januar 2008 06:47:37 + Running Clam <[EMAIL PROTECTED]> wrote: I understand that an external method or a product are my other choices, but I'm really uncomfortable about not understanding how I can tell when I can and when I cannot use allow_module() - at the moment, this feels hor

Re: [Zope] Using md5 with allow_module

2008-01-07 Thread Running Clam
Hi All, Sorry Andreas - I hit "reply" instead of "reply-all", and sent my response only to you. Thanks for your reply. On 1/8/08, Andreas Jung <[EMAIL PROTECTED]> wrote: > > FAQ! > Yes, there have been a good few questions about this - I spent a lot of time googling yesterday, and found a coupl

Re: [Zope] Using md5 with allow_module

2008-01-07 Thread Andreas Jung
--On 7. Januar 2008 21:10:32 + Running Clam <[EMAIL PROTECTED]> wrote: Hi, I have a need to generate an md5 hash for an XML fragment generated by TTW Zope code. > Error Type: Unauthorized Error Value: The container has no security assertions. Access to 'update' of (md5.md5 object at 0xb

[Zope] Using md5 with allow_module

2008-01-07 Thread Running Clam
Hi, I have a need to generate an md5 hash for an XML fragment generated by TTW Zope code. I thought I could do this with "allow_module" - I have a pseudo-product with an __init_,py that contains: - # Global module assertions for Python scripts from Products.PythonScripts.Utility import allow_mod