Re: [Zope] Self-Registration Script.
The new Zope beta site does this :) Probably the thing you want to do is use "Proxy Roles". You can make a DTML method with a Proxy Role of "Manager", but have the method viewable by anonymous... That DTML method will be able to do anything a Manager can do. Kevin -----Original Message----- From: Mike Winter <mfw127@cs.usask.ca> To: zope@zope.org <zope@zope.org> Date: Thursday, August 19, 1999 7:22 PM Subject: [Zope] Self-Registration Script.
Hi, I was wondering if anyone had an elegant way for users to come onto a site and register themselves for higher access without letting them have access to the user management screens. The way I'm doing it right now is via a HTTP form that passes the relevant variables to the user_addition script and then uses Javascript to close the window right away. This is really ugly. Does the API provide this functionality?
Thanks in advance.
-- Mike Winter | mfw127@mail.usask.ca U. of S: 966-4759 TR Labs: 668-9323
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
On Thu, 19 Aug 1999, Kevin Dangoor wrote:
The new Zope beta site does this :)
Probably the thing you want to do is use "Proxy Roles". You can make a DTML method with a Proxy Role of "Manager", but have the method viewable by anonymous... That DTML method will be able to do anything a Manager can do.
Kevin
Thanks, Kevin, that is definitely the way to go. Could anyone give me the syntax for the API call to add a user to the user folder? Is it: "acl_users.addUser(user, password, domains, roles)" or something similar? -- Mike Winter | mfw127@mail.usask.ca U. of S: 966-4759 TR Labs: 668-9323
participants (2)
-
Kevin Dangoor -
Mike Winter