[Zope] Adding Users To Acl_users

Steve Drees drees@the-bridge.net
Thu, 14 Dec 2000 10:35:43 -0600


> Is it possible to add users to acl users from a form other than that in
the acl_users folder?
> I've tried replicating the form within a dtml-with acl_users tag with no
luck so far, has
> anyone actually done this and made it work?

<dtml-call "REQUEST.set('name','bill')">
<dtml-call "REQUEST.set('password','mypassword')">
<dtml-call "REQUEST.set('confirm','mypassword')">
<dtml-call "REQUEST.set('roles',['RegisteredUser'])">
<dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)">

Creates a user bill with password mypassword and role of RegisteredUser