[Zope] Test for 'View' permission

Dragos Chirila d.chirila@bucarest.finsiel.ro
Fri, 7 Mar 2003 17:49:47 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_00B7_01C2E4D1.F1FD6AD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi

I have a Python script witch takes a list of Zope objects and returns =
only the objects with 'View' permission for Anonymous users.
The script is called by a Zope Manager.
How do I do that ??

10x

------=_NextPart_000_00B7_01C2E4D1.F1FD6AD0
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></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a Python script witch takes a =
list of Zope=20
objects and returns only the objects with 'View' permission for =
Anonymous=20
users.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The script is called by a Zope=20
Manager.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>How do I do that ??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>10x</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00B7_01C2E4D1.F1FD6AD0--