[Zope] manage_proxy Forbidden error

Cornel Nitu c.nitu@finsiel.ro
Mon, 27 Jan 2003 17:17:45 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_00A7_01C2C628.01E23A70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I want to add from an  external product, a DTMLMethod with proxy role =
'Manager'.

getattr(self,'daily_notifications').manage_proxy(['Anonymous','Authentica=
ted','Manager'],REQUEST)

I receive the following error:=20
"Forbidden  Header You are not authorized to change daily_notifications =
because you do not have proxy roles. "

How is it possible?

Thanks.

------=_NextPart_000_00A7_01C2C628.01E23A70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I want to add from an&nbsp; external =
product,=20
a&nbsp;DTMLMethod with proxy role 'Manager'.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>getattr(self,'daily_notifications').manage_proxy(['Anonymous','A=
uthenticated','Manager'],REQUEST)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I receive the following error: =
</FONT></DIV>
<DIV>
<P><STRONG>"Forbidden&nbsp; </STRONG>Header You are not authorized to =
change=20
<EM>daily_notifications</EM> because you do not have proxy =
roles.&nbsp;"</P>
<P>How is it possible?</P></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00A7_01C2C628.01E23A70--