Hi,
simple task but big issue due to the referential integrity constraints to all these 200+ database tables...
Here is what I've found:
- There is a "user-nuke.tcl" in the dotlrn package, but it only removes the user plus some innocent acs_rels.
- There was a "nuke.tcl" in ACS 3.4 with a lot of deletes, but completely outdated, obviously.
So I'm actually working on a "nuke.tcl" based on the ACS 3.4 code, adding basic OpenACS 5.1.5 and ]project-open[ V3.0.0.6 stuff. I'm gradually increasing complexity, and it seems to be OK as a quick patch.
However, I definitely would prefer a more thorough solution that could _guarantee_ to delete a user. I'm thinking about callbacks in each package that would cleanup everything in this module wrt. the user. Any ideas?
Also, I'm trying to cleanup stuff from the content repository for a given user. Do you know of any code available for this?
Bests,
Frank
mailto:frank_dot_bergmann_at_project_dash_open_dot_com
http://www.project-open.com/