[Zope-dev] subobject in BaseObject

Dieter Maurer dieter at handshake.de
Thu Jan 13 16:24:58 EST 2005


Pan Junyong wrote at 2005-1-12 02:00 +0800:
>Archetypes has a cool feature: when MS doc are transform to html, 
>pictures in the doc are stored as subobject of the content.
>
>After many tests, the feature works only when anonymous can view the 
>content. Or the picture will not show even I login at admin.
>
>I traced it, and found it fails at the last step: it returns the correct 
>wrapper object, but fails when call the following __call__ method(no 
>permission).

Did you read already that questions must always be accompanied
with complete information -- especially the precise error text,
the corresponding traceback an a code snippet that caused the
exception?

Furthermore, the "VerboseSecurity" product can help you
to analyse permission problems.

-- 
Dieter


More information about the Zope-Dev mailing list