On Thu, Jul 13, 2000 at 12:47:56PM -0400, Andres Corrada-Emmanuel wrote:
> The problem, as reported in a posting from Jerome Alet last week, is that the 
>user does not have permission to access the objectValues method. Giving the 

I should correct myself by saying that the objectValues method is not the
real problem here but the way the <dtml-in> tag is processed since I can
reproduce the problem with the following variant:

<dtml-let rootFolders="PARENTS[-1].objectValues('Folder')">
<dtml-in rootFolders>

and the DTML Method that includes this code works fine called directly. But
fails when called within another Document or Method by saying  that
Anonymous is not authorized to look at "rootFolders". The failure occurs in
lib/python/DocumentTemplate/DT_In.py in the function "renderwob".

I've looked at the code but it isn't easy to figure out what is going on.

Andres Corrada-Emmanuel   Email: [EMAIL PROTECTED]

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to