William Heymann wrote at 2006-10-20 06:55 -0600:
>This is an external method I wrote to make it easier to iterate over the 
>records returned from searching the catalog. However if I have
>
>yield record,item instead of yield item it says that I am not allowed to 
>access a particular tuple during iteration.

Probably, you lack the "object permission" for one of the returned
values. You will not see it in the "External Method" but
when you access it in untrusted code, you get an "Unauthorized".



-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to