[Zope] Proxy role + zclass + python script = Unauthorized
Dieter Maurer
dieter@handshake.de
Fri, 24 Aug 2001 23:59:23 +0200 (CEST)
Ayhan Ergul writes:
> I have a python script (called "clone") defined as a
> method of a zclass that, when invoked on the instance
> of the zclass (KM Chart Applet), makes a copy of the
> instance in a different folder. This works fine when
> the user has role manager, but fails with
> "Unauthorized" complaining about the permission "Add
> KM Chart Applets" although the script has proxy role
> manager.
"CopySupport._verifyObjectPaste" does not look at proxie roles.
This is a bug. Put it into the collector....
Dieter