Re: Deleting users

2010-04-16 Thread t . lemeur
Sebastian Wagner a écrit : In which organization object? I meant that while looking at an organisation in the GUI, the "Users" select box that lists all users belonging to the orgnaisation is filled with active _and_ deleted users. Thibault Cause in the Database Mapped Object(s) there is

Re: Deleting users

2010-04-16 Thread Sebastian Wagner
In which organization object? Cause in the Database Mapped Object(s) there is no link to Users: http://openmeetings.googlecode.com/svn/trunk/singlewebapp/src/app/org/openmeetings/app/hibernate/beans/domain/Organisation.java http://openmeetings.googlecode.com/svn/trunk/singlewebapp/src/app/org/openm

Re: Deleting users

2010-04-16 Thread t . lemeur
Hi Sebastian, Sebastian Wagner a écrit : hi Thibault, yes records are all just marked as deleted. Otherwise foreign key contraints are violated (Except you are using MySQL MYISAM where there are no foreign keys). So adding a flag to mark as deleted is a common way of doing that. Of course so

Re: Deleting users

2010-04-16 Thread Sebastian Wagner
hi Thibault, yes records are all just marked as deleted. Otherwise foreign key contraints are violated (Except you are using MySQL MYISAM where there are no foreign keys). So adding a flag to mark as deleted is a common way of doing that. Of course some kind of cron jobs to clean up the database w

Deleting users

2010-04-16 Thread t . lemeur
Hi, When an administrator deletes a user, his entry is not deleted in DB (marked as deleted only). I guess this is because we need to keep track of this user's ressources on the system. Am I right ? Is it for the same reason that the mapping between deleted users and organizations persists a