Reinoud van Leeuwen wrote:
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the function is:
for brain in self.portal_catalog(portal_type='User',
SearchableText=SearchableText):
Hi,
I have a working pyhton script in the ZODB that searches for members and
is called by a xmlrpc client. Security is only needed based on source IP
address, so Anonymous can execute it, but the script has an Authenticated
proxy role.
I would like to convert this script to an Exteral Method
On 10 Oct 2005, at 16:49, Reinoud van Leeuwen wrote:
I would like to convert this script to an Exteral Method in
$INSTANCE_HOME/Extensions. This basically works, but I cannot see
any way
to specify the proxy role. And when it is not specified the script
obviously does not work.
Have you
--On 10. Oktober 2005 17:49:20 +0200 Reinoud van Leeuwen
[EMAIL PROTECTED] wrote:
I would like to convert this script to an Exteral Method in
$INSTANCE_HOME/Extensions. This basically works, but I cannot see any way
to specify the proxy role. And when it is not specified the script
On Mon, Oct 10, 2005 at 05:06:22PM +0100, Jens Vagelpohl wrote:
On 10 Oct 2005, at 16:49, Reinoud van Leeuwen wrote:
I would like to convert this script to an Exteral Method in
$INSTANCE_HOME/Extensions. This basically works, but I cannot see
any way
to specify the proxy role. And when it
Are you using CMF/Plone?
-aj
--On 10. Oktober 2005 19:18:00 +0200 Reinoud van Leeuwen
[EMAIL PROTECTED] wrote:
On Mon, Oct 10, 2005 at 05:06:22PM +0100, Jens Vagelpohl wrote:
On 10 Oct 2005, at 16:49, Reinoud van Leeuwen wrote:
I would like to convert this script to an Exteral Method in
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the function is:
for brain in self.portal_catalog(portal_type='User',
SearchableText=SearchableText):
user = brain.getObject()
On Tue, Oct 11, 2005 at 03:42:44AM +1000, Alan Milligan wrote:
yes. I I run the script from the ZMI logged in as admin it finds members,
but if I try it from an XMLRPC client it does not
You're sure you haven't got an access control problem and that your
xml-rpc client is not running up
--On 10. Oktober 2005 20:00:23 +0200 Reinoud van Leeuwen
[EMAIL PROTECTED] wrote:
But really searching for something through xmlrpc does not work. If I
copy paste the code in an (ZODB) Python script which I give the
Authenticated proxy role it works perfect.
Nonsense. Your problem has
2005/10/10, Reinoud van Leeuwen [EMAIL PROTECTED]:
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the function is:
for brain in self.portal_catalog(portal_type='User',
On Mon, Oct 10, 2005 at 10:57:25PM +0100, Peter Bengtsson wrote:
2005/10/10, Reinoud van Leeuwen [EMAIL PROTECTED]:
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the function is:
for brain in
2005/10/10, Reinoud van Leeuwen [EMAIL PROTECTED]:
On Mon, Oct 10, 2005 at 10:57:25PM +0100, Peter Bengtsson wrote:
2005/10/10, Reinoud van Leeuwen [EMAIL PROTECTED]:
On Mon, Oct 10, 2005 at 07:27:11PM +0200, Andreas Jung wrote:
Are you using CMF/Plone?
yes. the main part of the
On 10 Oct 2005, at 23:14, Peter Bengtsson wrote:
I understood that Plone does some extra magic, so I have to setup a
securoty context... I'll post it here if I have a working solution
Shouldn't really be the problem. Isn't portal_catalog just another
ZCatalog that has nothing to do with
13 matches
Mail list logo