[z3-five] Adaptation in untrusted code

Chris Withers chris at simplistix.co.uk
Thu Nov 16 10:00:57 CET 2006


Maciej Wisniowski wrote:
> workaround - using external method. How do you set security in your ZCML
> file??

Eh? You don't?

>> What I really want is to do:
>>
>> security.declarePublic(View,'render')
>>
>> ...in my adapter code. How can I go about doing this?
> You mean:
>  security.declareProtected('View','render')?

Sorry, yes...

> It didn't worked for me 

It won't, and I know why it won't (I thought I explained that in my last 
mail...) but that doesn't mean I know how to solve the problem ;-)

> BTW. Chris, I've removed this silly thing from my Thunderbird config ;)

Glad to see it :-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the z3-five mailing list