I'm working on an OpenACS site that will add users en masse. (One of
the participating organizations sent me a data file with 12,000 users,
for example.) I'm trying to test my custom registration system, but
have discovered (like some others on the bboard) that deleting a user
doesn't remove the entry from the "parties" table. And because an
e-mail address has a UNIQUE constraint in Parties, this means that I
can't re-add the same user during a second (or third, or tenth)
iteration of my test.
If it were as simple as deleting entries from the Parties table, I
would do that. But there are some other tables involved as well,
including acs_rels, and going through all of this manually is a real pain.
The reason for keeping people around in Parties is that we want to
keep all content on the site, including whatever content was created
by deleted users. But in my case, I know that the users haven't
generated any content, and I want to remove any trace of them from the
system.
So, what realistic options do I have? OpenACS 3 had a handy-dandy
"nuke" feature that I haven't seen in OpenACS 4.
Ideas, anyone?