[Zope] Problem with programmatically adding users to acl_users
ruth at anvil.com
Wed Oct 8 06:58:19 EDT 2003
I've just created a little dtml script to carry out user registratin... when a user fills in the form he should be added as a site user and thus added to acl_users. The structure I got is the following
/Zope Root Folder
/ Parent Folder
/ Registration folder
The dtml method is one I've found listed on loads of sites ....
<dtml-call "REQUEST.set('username', '<username>')">
<dtml-call "REQUEST.set('password', '<password>')">
<dtml-call "REQUEST.set('confirm', '<confirm>')">
<dtml-call "REQUEST.set('roles', ['Member'])">
<dtml-call "REQUEST.set('domains', ['Domain1'])">
<dtml-call "REQUEST.set('submit', 'Add')">
<dtml-call "acl_users.manage_users(submit='Add', REQUEST=REQUEST)">
I'm getting no errors reported but also I'm getting no user created in the folder...
what's going wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope