[Zope] ZClass proxy roles - don't work?
Dieter Maurer
dieter@handshake.de
Fri, 2 Aug 2002 23:14:26 +0200
Wade Leftwich writes:
> I have a Product that contains several nested ZClasses. I'm trying to allow
> an anonymous user (actually a Xron object) to call a method on an inner class
> that will modify some object attributes. I have given the method a proxy role
> of Manager, but calling it still raises a login prompt. If I don't log in, I
> get 'not authorized to manage_changeProperties'.
You know, that a proxy role affects only the code executed directly
in the executable. It has no effect in calls done in the executable:
proxy roles are not inherited by the callee.
Dieter