[Zope-dev] UserFolder and xmlrpc

Bill Anderson bill@immosys.com
10 Sep 2001 01:42:12 -0600


On Sun, 2001-09-09 at 17:14, Richard Jones wrote:
> On Saturday 08 September 2001 04:00, Bill Anderson wrote:
> > On Thu, 2001-09-06 at 18:58, Richard Jones wrote:
> > > Are there any plans to "update" UserFolder to allow xmlrpc calls into it?
> > > The addition of manage_addUser/manage_editUser/etc that wrap
> > > _doAddUser/_doChangeUser/etc would probably suffice. The current
> > > manage_users interface is not xml-rpc friendly, unfortunately :)
> > >
> > > The point of this, BTW, is to allow a user-friendly "control panel" on
> > > the mac and windows to add (and possibly later edit) manager users. We
> > > find that the process of [remembering|setting] the admin password and
> > > then logging in, finding acl_users, adding a user, logging out (usually
> > > quitting the browser), logging back in is quite a problem for our users.
> > > Hence the control panel being able to add a manager user in one step.
> >
> > You may consider downloading the ZMC GUI, it does most of this, and uses
> > XML-RPC. it is written in Python and GTK. I am owkring on one in
> > wxPython, for X-Platform use.
> 
> The point of my post was that you can't currently XMP-RPC to add a user - the 
> manage_users method is not a usable method from an XML-RPC perspective.

Which is why I wrote alternative ones. Actualy, IIRC, there is a way to
emulate a REQUEST object.

> 
> We are developing our own Mac and Windows interfaces that have a slimmer 
> scope than ZMC (and also some extensions that ZMC won't ever have) and is 
> branded with our logos. We intend to release the source soon too - but it 
> sounds like it'd be of little use to your project, as it's written in C.

You have this backward. Mine is *already* done. I was offering the code
as an example of how to do it with XML-RPC. Actually, as I sit here an
dlook at your post, I do not believe you know what the ZMC is. It is not
a ZC product, it is one of my own creation. You can't get much slimmer
of a scope than mine, and still call it a means for managing users. All
it does it let you delete a user, or change their roles via a GTK GUI.
it doesn't allow, at this time, addition of users, but it is not a
difficult add-on; I've just been busy on a much larger product.

Oh, and if you release the source under a compatible license, and the
extensions are of use, I wouldn't rule out ZMC acquiring them. ;^)

Cheers, 
Bill.