Hello All
I would like to discuss the deletion of a users in chamilo 2.0. At this
point the user his content objects are NOT removed because they would
cause a lot of issues where the content objects are published or used in
other content objects. It's important that we define some kind of
procedure that should happen when a user gets deleted. What happens with
his content objects, what happens with the references to the user id's
in all the other tables (tracking, subscriptions etc...).?
At this point i'm pretty sure that when you delete a user, the system
will break on some places because of the display for the username
without the check if the user still exists. I implemented a new function
in the userdatamanager which gets the user's fullname by user id which
returns the fullname if the user exists and User unknown if the user
doesn't exist anymore but i didn't have the time / resources yet to
change this feature on the entire platform. If you are developing new
features i would ask you to now use this function, or at least check if
the user still exists in the platform to avoid breakage.
--
Met vriendelijke groeten
Sven Vanpoucke
Digitaal Leren
Directie Onderwijs
Hogeschool Gent
http://digitaal-leren.hogent.be/
_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev