[Zope-dev] Delete users in Membership acl_users

Kamon Ayeva kamonayeva@yahoo.com
Thu, 11 Jan 2001 04:33:11 -0800 (PST)


Hi,

Has anyone been able to use the delUserForm to delete
users added within a PersistentUserSource in the
PortalMembershipSystem object ?

I am not sure if this piece of code in delUserForm
preceding the HTML form snippet does the right job:

<dtml-let idList="[]">
<dtml-in "UserSource.getPersistentItemIDs()" sort>
<dtml-call
"idList.append(getItem(_['sequence-item']))">
</dtml-in>

<dtml-in idList sort=Importance reverse>
...

I can view the users but when I click on the form
button to delete some users, I get

I get 

Error Type: NotFound
Error Value: None

In the view I get, the user url points to
.../acl_users/userid (for example /acl_users/david)
and cannot be used to check the user object.

Thanks for any usefull answer.

Regards,
Kamon


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/