Mathieu Roy wrote:
> Removing groups or users from the system is supposed to carried out by 
> sv_cleaner and sv_users.

Ok. I tracked down some bugs, which I'll submit a patch for. sv_cleaner
was calling DeleteGroups, which deleted groups from database, but not
from the system. sv_users was calling DeleteUser, which did the opposite
(ie, deleted from system, but not from database).

In my patch, I've also added an additional feature. Users that are not a
member of any project were supposed to be deleted from the database and
the system (but didn't due to bugs). However, I think it is useful for
users to be able to remain in the database without being a member of a
project. So, with my patch, users not a member of any project, are
removed from the system, but not the database. This feature prevents
deletion of new users that haven't yet joined a project, or for old
users in transition for some reason.

>>Another thing... when I run sv_cleanup.pl --big-cleanup, I get the
>>following error:
>>
>>DBD::mysql::db do failed: Table 'savane.support_file' doesn't exist at
>>/usr/pkg/lib/perl5/site_perl/5.8.0/Savane/DB.pm line 249.
>>DBD::mysql::db do failed: Table 'savane.support_file' doesn't exist at
>>/usr/pkg/lib/perl5/site_perl/5.8.0/Savane/DB.pm line 249.
>>
>>I haven't been able to figure out the cause of this error. Can you help
>>me debug this?
> 
> 
> I know what it is, it is a simply a bug (script not update after a database 
> structure change.
> 
> Can you submit a bug report?

done.

-- 
Armando
www.armandocaro.net


_______________________________________________
Savane-help mailing list
[email protected]
https://mail.gna.org/listinfo/savane-help

Reply via email to