[Zope] Re-posted - How to delete users in Membership product with Persistent User Source
Dirksen
dirksen_lau@yahoo.com
Mon, 15 Jan 2001 17:35:44 -0800 (PST)
The delUserForm calls 'deleteInstances' to do the job, yet 'deleteInstances' is not
provided with the product, instead 'manage_deleteUsers' is. When I change
'deleteInstances' to 'manage_deleteUsers' in the code of delUserForm, things work out.
Bill, it's probably a bug :)
cheers
Dirksen
--- Bill Anderson <bill@libc.org> wrote:
> Kamon Ayeva wrote:
>
> > Hi,
> >
> > Has anyone been able to use the delUserForm to delete
> > users added within a PersistentUserSource in the
> > PortalMembershipSystem object ?
>
> Yes, quite frequently.
>
>
> > 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
> >
>
> What platform?
> What Zope version?
> What version of each related/required product?
> Is SiteAcces Installed?
> If So, what version?
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/