[Zope] merging the contents of two acl_users folders
David H
bluepaul at earthlink.net
Thu Jun 23 17:10:40 EDT 2005
Jim,
David H didn't think thru his answer. I do not think you can acquire
*passwords* the way I indicated. If so my suggestion will not work. The
approach will work otherwise.
Maybe someone that knows about this will pitch in. I'm reviewing
User.py now...
David
.
David H wrote:
>/Jim,
>
>It can be done, eg
>
> loop thru source.acl_users
> for each user object
> stuff REQUEST with name,password,confirm (password again) and roles, eg
> REQUEST.set('name',username), etc
>// context.Destination.acl_users.manage_users('Add',REQUEST,RESPONSE)//
>
>
>David
>
>/
>
>
> Jim Abramson wrote:
>
>> Can it be done? (programmically obtain data from one acl_users folder
>> and merge into another)
>>
>> If not that, the ability to move selected users from one acl_users to
>> another would be a decent plan B.
>>
>> This is a one-time move, so I consider any effective solution viable,
>> even if some manual hacking is involved.
>>
>> Thanks for any help,
>> Jim
>>
>>
>
>
>
> __________ NOD32 1.1152 (20050623) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Zope maillist - Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
>__________ NOD32 1.1152 (20050623) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.eset.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050623/06e44038/attachment.htm
More information about the Zope
mailing list