I have a situation where I need to be able to programmatically add users to the ACL_Users on three different Zope machines running three different apps. I don't think Zeo will work for this because they all run different apps. (Please correct me if I'm wrong here) Specifically what I'm trying to do is write a management interface on one of the Zope machines that will add permissions in certain databases(got this part working) and to add the user to ACL_USERS on the three different Zope machines. I have successfully written code to add a user to the current machine. What I need is a anyway to access the acl_users.manage_users() method on a different Zope machine. I've been reading the email archive for hours now and can't seem to find a solution to my problem. Any help would be greatly appreciated. Thanks, Steven Grimes Database Engineer sgrimes@atinucleus.com Accelerated Technology, Inc. 720 Oak Circle Drive East Mobile, AL 36609 TEL: 334-661-5770 x2348 FAX: 334-661-5788 www.acceleratedtechnology.com ------------------------------------------------------------ "Nucleus. All You NEED in an RTOS. Royalty Free." ------------------------------------------------------------
I have a situation where I need to be able to programmatically add users to the ACL_Users on three different Zope machines running three different apps.
Hmmm, Well that's a toughy. I'd explore xml-rpc. Then you could just hit a method on the other 2 machines. Seems to me you may be going around this backwards though. Perhaps you should explore an SQL based user management situation. Then you would only have to update your DB once and all 3 zopes could query the DB for user authentication. Just some free advice.
On Wed, Apr 25, 2001 at 02:52:08PM -0500, Steven Grimes wrote:
I have a situation where I need to be able to programmatically add users to the ACL_Users on three different Zope machines running three different apps. I don't think Zeo will work for this because they all run different apps. (Please correct me if I'm wrong here) Specifically what I'm trying to do is write a management interface on one of the Zope machines that will add permissions in certain databases(got this part working) and to add the user to ACL_USERS on the three different Zope machines. I have successfully written code to add a user to the current machine. What I need is a anyway to access the acl_users.manage_users() method on a different Zope machine.
I've been reading the email archive for hours now and can't seem to find a solution to my problem.
Any help would be greatly appreciated.
Are your three Zope machines using the same Roles? If so, why not use LoginManager and store the entire user store in one database that all three can contact for authentication? Zac -- $name="zachery bir"; $email="zbir@urbanape.com"; $position="systems administrator"; $altposition="witch doctor"; $voice="804.353.3742"; $web="http://www.urbanape.com";
You should try using mysqlUserFolder, this creates a common database that can be accessed from three different portals, and you will be able to add to it from each portal. Norman -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Steven Grimes Sent: 25 April 2001 20:52 To: Zope Cc: Ron Baum; Yvonne Totty Subject: [Zope] Question about logins? I have a situation where I need to be able to programmatically add users to the ACL_Users on three different Zope machines running three different apps. I don't think Zeo will work for this because they all run different apps. (Please correct me if I'm wrong here) Specifically what I'm trying to do is write a management interface on one of the Zope machines that will add permissions in certain databases(got this part working) and to add the user to ACL_USERS on the three different Zope machines. I have successfully written code to add a user to the current machine. What I need is a anyway to access the acl_users.manage_users() method on a different Zope machine. I've been reading the email archive for hours now and can't seem to find a solution to my problem. Any help would be greatly appreciated. Thanks, Steven Grimes Database Engineer sgrimes@atinucleus.com Accelerated Technology, Inc. 720 Oak Circle Drive East Mobile, AL 36609 TEL: 334-661-5770 x2348 FAX: 334-661-5788 www.acceleratedtechnology.com ------------------------------------------------------------ "Nucleus. All You NEED in an RTOS. Royalty Free." ------------------------------------------------------------ _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On 25 Apr 2001 22:35:32 +0100, Norman Khine wrote:
You should try using mysqlUserFolder, this creates a common database that can be accessed from three different portals, and you will be able to add to it from each portal.
I haven't tried it _yet_, but it seems to me that one could use zeo-served mounted storeage folders to mount the acl_users folder in the three portals. Bill Anderson
participants (5)
-
Bill Anderson -
Norman Khine -
Steve Drees -
Steven Grimes -
Zachery Bir