I believe that for security validation to work the object you return has to be acquisition wrapped. Try something like (untested):
def _getOb(self, id):
--On Donnerstag, 16. Jšnner 2003 16:51 +0100 Lars Heber <[EMAIL PROTECTED]> wrote:
Hi zopers, my class has a list with several objects in it. When calling my self written _getOb() method, I want to return one of these objects. But I get an Unauthorized...When I put an object of the same type into a normal class attribute (self.dummyObject), return of that object from _getOb() works perfectly. What am I doing wrong? Thanks a lot!
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/ _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )